From 184cb0e97332c5e3730ddf2846bfbac432270087 Mon Sep 17 00:00:00 2001 From: Steve Nygard Date: Tue, 4 Aug 2009 10:40:14 +0000 Subject: [PATCH] Committing a couple tests from earlier. --- UnitTests/var-004.txt | 28 ++++++++++++++++++++++++++++ UnitTests/var-005.txt | 4 ++++ 2 files changed, 32 insertions(+) create mode 100644 UnitTests/var-004.txt create mode 100644 UnitTests/var-005.txt diff --git a/UnitTests/var-004.txt b/UnitTests/var-004.txt new file mode 100644 index 0000000..c0af410 --- /dev/null +++ b/UnitTests/var-004.txt @@ -0,0 +1,28 @@ +var 1 +{RetainPtr=^{__CFString}} + +var +{My::List} + +var +{My::List} + +var +{My::List} + +var +{My::List*,int>} + +// If it's still in the template mode, it adds any identifier after the > to the suffix; + +var +{My::List*bob,int>} + +// And this should fail: +var +{My::List*} + +// Should this work or not? +var +{^My::List} + diff --git a/UnitTests/var-005.txt b/UnitTests/var-005.txt new file mode 100644 index 0000000..29647b7 --- /dev/null +++ b/UnitTests/var-005.txt @@ -0,0 +1,4 @@ +// From Safari 4.0.2 on Mac OS X 10.5: + +var +{pair, 0ul>*>}