Skip to content

Instantly share code, notes, and snippets.

@Tux
Created June 10, 2015 10:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Tux/08b2083d9eaff31d8bc6 to your computer and use it in GitHub Desktop.
Save Tux/08b2083d9eaff31d8bc6 to your computer and use it in GitHub Desktop.
How to workaround the segfault
diff --git a/t/55_combi.t b/t/55_combi.t
index 0fff82d..c06333b 100644
--- a/t/55_combi.t
+++ b/t/55_combi.t
@@ -43,7 +43,7 @@ sub combi (*%attr)
if (%attr<sep_char> eq %attr<quote_char> ||
%attr<sep_char> eq %attr<escape_char>) {
ok (%state{1001}.defined, "Illegal combo sep == quo || sep == esc");
- ok (%state{1001} ~~ m{"sep_char is equal to"}, "Illegal combo 1001");
+ ok (%state{1001} eq "INI - separator is equal to quote- or escape sequence", "Illegal combo 1001");
}
else {
ok (!%state{1001}.defined, "No char conflict");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment