Skip to content

Commit

Permalink
spelling: world
Browse files Browse the repository at this point in the history
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
  • Loading branch information
jsoref committed Nov 1, 2023
1 parent afb6098 commit 237e985
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion fcs-samples/Tokenizer/Program.fs
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions tests/FSharp.Compiler.UnitTests/TokenizerTests.fs
Expand Up @@ -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 =
Expand All @@ -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");
Expand Down

0 comments on commit 237e985

Please sign in to comment.