pike.git/
src/
testsuite.in
Branch:
Tag:
Non-build tags
All tags
No tags
2015-07-07
2015-07-07 13:04:16 by Henrik Grubbström (Grubba) <grubba@grubba.org>
e6da27676cc4f144e9d0a2524bc4fbf180d5e4e8 (
13
lines) (+
13
/-
0
)
[
Show
|
Annotate
]
Branch:
8.0
Testsuite: Added some tests of new-style literal strings.
36:
bar"]],[["foo\nbar"]]); test_eq([[#"foo\ bar"]],[["foobar"]]);
+
test_eq([[#(foo
+
bar#)]],[["foo\nbar"]]);
+
test_eq([[#(foo\
+
bar#)]],[["foo\\\nbar"]]);
+
test_eq([[#[foo
+
bar#] ]],[["foo\nbar"]]);
+
test_eq([[#[foo\
+
bar#] ]],[["foo\\\nbar"]]);
+
test_eq([[#{foo
+
bar#}]],[["foo\nbar"]]);
+
test_eq([[#{foo\
+
bar#}]],[["foo\\\nbar"]]);
test_true([[stringp(#string "Makefile")]]); test_any([[class Bar { array(int) foo = ({}); }; class Foo { inherit Bar; array(int) foo = ({1}); };