summaryrefslogtreecommitdiff
path: root/test/stdout/0002
diff options
context:
space:
mode:
Diffstat (limited to 'test/stdout/0002')
-rw-r--r--test/stdout/000239
1 files changed, 39 insertions, 0 deletions
diff --git a/test/stdout/0002 b/test/stdout/0002
index 8516f5f82..f343545a5 100644
--- a/test/stdout/0002
+++ b/test/stdout/0002
@@ -502,6 +502,45 @@
> abcdea a abcdea
> abcdea abc z zzzdez
>
+> # Boolean
+> "TrUe" true EXPECT: true
+> "FALSE" false EXPECT: false
+> " yes" true EXPECT: true
+> " no" false EXPECT: false
+> "yes " true EXPECT: true
+> Failed: unrecognised boolean value "-1"
+> "0" false EXPECT: false
+> "1" true EXPECT: true
+> " 0 " false EXPECT: false
+> " 1 " true EXPECT: true
+> "1111111111111111111" true EXPECT: true
+> "9" true EXPECT: true
+> " " false EXPECT: false
+> Failed: unrecognised boolean value "text"
+> Failed: unrecognised boolean value "text"
+> Failed: unrecognised boolean value "text"
+> Failed: unrecognised boolean value "text"
+> "00" false EXPECT: false
+>
+> "TrUe" true EXPECT: true
+> "FALSE" false EXPECT: false
+> " yes" true EXPECT: true
+> " no" false EXPECT: false
+> "yes " true EXPECT: true
+> "-1" true EXPECT: true
+> "0" false EXPECT: false
+> "1" true EXPECT: true
+> " 0 " false EXPECT: false
+> " 1 " true EXPECT: true
+> "1111111111111111111" true EXPECT: true
+> "9" true EXPECT: true
+> " " false EXPECT: false
+> "text" true EXPECT: true
+> " text" true EXPECT: true
+> "text " true EXPECT: true
+> " text " true EXPECT: true
+> "00" true EXPECT: true
+>
> # RFC 2047
>
> abcd abcd