diff --git a/fcs-samples/Tokenizer/Program.fs b/fcs-samples/Tokenizer/Program.fs index 5a3537367382..6e36b59bbb5e 100644 --- a/fcs-samples/Tokenizer/Program.fs +++ b/fcs-samples/Tokenizer/Program.fs @@ -18,7 +18,7 @@ let tokenizeLines (lines:string[]) = let tokenizedLines = tokenizeLines - [| "// Sets the hello wrold variable" + [| "// Sets the hello world variable" "let hello = \"Hello world\" " |] for lineNo, lineToks in tokenizedLines do diff --git a/tests/FSharp.Compiler.UnitTests/TokenizerTests.fs b/tests/FSharp.Compiler.UnitTests/TokenizerTests.fs index 7590cbd7d35b..e44feec1f8ff 100644 --- a/tests/FSharp.Compiler.UnitTests/TokenizerTests.fs +++ b/tests/FSharp.Compiler.UnitTests/TokenizerTests.fs @@ -32,7 +32,7 @@ let tokenizeLines (lines:string[]) = let ``Tokenizer test - simple let with string``() = let tokenizedLines = tokenizeLines - [| "// Sets the hello wrold variable" + [| "// Sets the hello world variable" "let hello = \"Hello world\" " |] let actual = @@ -43,7 +43,7 @@ let ``Tokenizer test - simple let with string``() = [("LINE_COMMENT", "//"); ("LINE_COMMENT", " "); ("LINE_COMMENT", "Sets"); ("LINE_COMMENT", " "); ("LINE_COMMENT", "the"); ("LINE_COMMENT", " "); ("LINE_COMMENT", "hello"); ("LINE_COMMENT", " "); - ("LINE_COMMENT", "wrold"); ("LINE_COMMENT", " "); + ("LINE_COMMENT", "world"); ("LINE_COMMENT", " "); ("LINE_COMMENT", "variable")]); (1, [("LET", "let"); ("WHITESPACE", " "); ("IDENT", "hello");