From 9d0d078ff297138622cd2f3f1076f5984395e42b Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sat, 19 Mar 2016 11:34:10 +0200 Subject: Add support for pair representation reversibility --- tests/variable/representation/buildfile | 8 ++++++++ tests/variable/representation/test.out | 8 ++++++++ 2 files changed, 16 insertions(+) (limited to 'tests/variable') diff --git a/tests/variable/representation/buildfile b/tests/variable/representation/buildfile index 7a2c3f2..8410c96 100644 --- a/tests/variable/representation/buildfile +++ b/tests/variable/representation/buildfile @@ -10,12 +10,20 @@ val += /// val += //foo/ #val += dir{-L/} +# Note that this is "reversed" when we assign it to test.options +# since that variable is of type strings. +# +val += foo@bar foo/@bar/ foo@ @bar @ "@@" + val += foo%bar val += foo% val += %bar val += foo%{bar} #val += foo%file{x} +val += x%foo@y%bar +val += x%foo/@y%bar/ + using cxx cxx.ext = cxx diff --git a/tests/variable/representation/test.out b/tests/variable/representation/test.out index 04d8528..84e7250 100644 --- a/tests/variable/representation/test.out +++ b/tests/variable/representation/test.out @@ -6,7 +6,15 @@ '//' '///' '//foo/' +'foo@bar' +'foo/@bar/' +'foo@' +'@bar' +'@' +'@@' 'foo%bar' 'foo%' '%bar' 'foo%bar' +'x%foo@y%bar' +'x%foo/@y%bar/' -- cgit v1.1