Branch: Tag:

2015-07-07

2015-07-07 13:04:16 by Henrik Grubbström (Grubba) <grubba@grubba.org>

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}); };