Skip to content

Commit aca240f

Browse files
committed
spelling: world
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
1 parent bf9d0b5 commit aca240f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

fcs-samples/Tokenizer/Program.fs

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ let tokenizeLines (lines:string[]) =
1818

1919
let tokenizedLines =
2020
tokenizeLines
21-
[| "// Sets the hello wrold variable"
21+
[| "// Sets the hello world variable"
2222
"let hello = \"Hello world\" " |]
2323

2424
for lineNo, lineToks in tokenizedLines do

tests/FSharp.Compiler.UnitTests/TokenizerTests.fs

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ let tokenizeLines (lines:string[]) =
3232
let ``Tokenizer test - simple let with string``() =
3333
let tokenizedLines =
3434
tokenizeLines
35-
[| "// Sets the hello wrold variable"
35+
[| "// Sets the hello world variable"
3636
"let hello = \"Hello world\" " |]
3737

3838
let actual =
@@ -43,7 +43,7 @@ let ``Tokenizer test - simple let with string``() =
4343
[("LINE_COMMENT", "//"); ("LINE_COMMENT", " "); ("LINE_COMMENT", "Sets");
4444
("LINE_COMMENT", " "); ("LINE_COMMENT", "the"); ("LINE_COMMENT", " ");
4545
("LINE_COMMENT", "hello"); ("LINE_COMMENT", " ");
46-
("LINE_COMMENT", "wrold"); ("LINE_COMMENT", " ");
46+
("LINE_COMMENT", "world"); ("LINE_COMMENT", " ");
4747
("LINE_COMMENT", "variable")]);
4848
(1,
4949
[("LET", "let"); ("WHITESPACE", " "); ("IDENT", "hello");

0 commit comments

Comments
 (0)