diff options
author | Péter Szilágyi <peterke@gmail.com> | 2018-08-20 20:12:48 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-20 20:12:48 +0800 |
commit | 87f294aa0b9cf209ad80f8a0a189e0cdcc71e223 (patch) | |
tree | e155cdaa29c0232e3412c2562b9388eb65910ce7 /console/console_test.go | |
parent | 68f0a414eadda4c5485e4e96bda9c4b8b54eda6d (diff) | |
parent | 0fd02fe9cff54a5edce87588ed780c76a95329fd (diff) | |
download | go-tangerine-87f294aa0b9cf209ad80f8a0a189e0cdcc71e223.tar go-tangerine-87f294aa0b9cf209ad80f8a0a189e0cdcc71e223.tar.gz go-tangerine-87f294aa0b9cf209ad80f8a0a189e0cdcc71e223.tar.bz2 go-tangerine-87f294aa0b9cf209ad80f8a0a189e0cdcc71e223.tar.lz go-tangerine-87f294aa0b9cf209ad80f8a0a189e0cdcc71e223.tar.xz go-tangerine-87f294aa0b9cf209ad80f8a0a189e0cdcc71e223.tar.zst go-tangerine-87f294aa0b9cf209ad80f8a0a189e0cdcc71e223.zip |
Merge pull request #17437 from hackmod/console-typo
console: fixed comment typo
Diffstat (limited to 'console/console_test.go')
-rw-r--r-- | console/console_test.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/console/console_test.go b/console/console_test.go index 7b1629c03..26465ca6f 100644 --- a/console/console_test.go +++ b/console/console_test.go @@ -201,7 +201,7 @@ func TestInteractive(t *testing.T) { go tester.console.Interactive() - // Wait for a promt and send a statement back + // Wait for a prompt and send a statement back select { case <-tester.input.scheduler: case <-time.After(time.Second): @@ -212,7 +212,7 @@ func TestInteractive(t *testing.T) { case <-time.After(time.Second): t.Fatalf("input feedback timeout") } - // Wait for the second promt and ensure first statement was evaluated + // Wait for the second prompt and ensure first statement was evaluated select { case <-tester.input.scheduler: case <-time.After(time.Second): @@ -249,7 +249,7 @@ func TestExecute(t *testing.T) { } // Tests that the JavaScript objects returned by statement executions are properly -// pretty printed instead of just displaing "[object]". +// pretty printed instead of just displaying "[object]". func TestPrettyPrint(t *testing.T) { tester := newTester(t, nil) defer tester.Close(t) @@ -300,7 +300,7 @@ func TestIndenting(t *testing.T) { }{ {`var a = 1;`, 0}, {`"some string"`, 0}, - {`"some string with (parentesis`, 0}, + {`"some string with (parenthesis`, 0}, {`"some string with newline ("`, 0}, {`function v(a,b) {}`, 0}, |