2017-08-26 02:25:23 -04:00
|
|
|
! Copyright (C) 2017 Doug Coleman.
|
|
|
|
|
! See http://factorcode.org/license.txt for BSD license.
|
|
|
|
|
USING: modern modern.slices tools.test ;
|
|
|
|
|
IN: modern.tests
|
|
|
|
|
|
2017-08-26 12:21:09 -04:00
|
|
|
! Comment
|
2017-08-26 02:25:23 -04:00
|
|
|
{
|
|
|
|
|
{ { "!" "" } }
|
|
|
|
|
} [ "!" string>literals >strings ] unit-test
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
{ { "!" " lol" } }
|
|
|
|
|
} [ "! lol" string>literals >strings ] unit-test
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
{ "lol!" }
|
|
|
|
|
} [ "lol!" string>literals >strings ] unit-test
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
{ { "!" "lol" } }
|
|
|
|
|
} [ "!lol" string>literals >strings ] unit-test
|
2017-08-26 12:21:09 -04:00
|
|
|
|
|
|
|
|
! Colon
|
|
|
|
|
{
|
|
|
|
|
{ ":asdf:" }
|
|
|
|
|
} [ ":asdf:" string>literals >strings ] unit-test
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
{ { "one:" "1" } }
|
|
|
|
|
} [ "one: 1" string>literals >strings ] unit-test
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
{ "1" ":>" "one" }
|
|
|
|
|
} [ "1 :> one" string>literals >strings ] unit-test
|
|
|
|
|
|
|
|
|
|
! Acute
|
|
|
|
|
{
|
|
|
|
|
{ { "<A" { } "A>" } }
|
|
|
|
|
} [ "<A A>" string>literals >strings ] unit-test
|