Skip to content

Commit 77f429e

Browse files
author
Andrin Meier
committed
add test to make sure we're always operating in "option compare text" mode
1 parent 942b5f7 commit 77f429e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

RubberduckTests/Preprocessing/VBAPreprocessorVisitorTests.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1094,12 +1094,14 @@ public void TestLocale()
10941094
#Const a = CDate(""2016/03/02"")
10951095
#Const b = CBool(""tRuE"")
10961096
#Const c = CBool(""#TRUE#"")
1097+
#Const d = ""ß"" = ""ss""
10971098
";
10981099
System.Threading.Thread.CurrentThread.CurrentCulture = new CultureInfo("ja-jp");
10991100
var result = Preprocess(code);
11001101
Assert.AreEqual(new DateTime(2016, 3, 2), result.Item1.Get("a").AsDate);
11011102
Assert.AreEqual(true, result.Item1.Get("b").AsBool);
11021103
Assert.AreEqual(true, result.Item1.Get("c").AsBool);
1104+
Assert.AreEqual(true, result.Item1.Get("d").AsBool);
11031105
}
11041106

11051107
[TestMethod]

0 commit comments

Comments
 (0)