Skip to content

Commit 94c5ec3

Browse files
committed
Fix several typos in comments and debug strings
1 parent 31259a2 commit 94c5ec3

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

js-envs-test-kit/src/test/scala/org/scalajs/jsenv/test/kit/TestEnv.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ private[kit] class TestEnv private (
4040

4141
def withOutErrHang(): TestEnv = {
4242
def hangStream() = new InputStream {
43-
// read method that hangs indfinitely.
43+
// read method that hangs indefinitely.
4444
def read(): Int = synchronized {
4545
while (true) wait()
4646
throw new AssertionError("unreachable code")

js-envs-test-kit/src/test/scala/org/scalajs/jsenv/test/kit/TestKitTest.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class TestKitTest {
3333

3434
expectAssert(msg, cause)(body(kit))
3535

36-
assertFalse("faster than timout", deadline.isOverdue)
36+
assertFalse("faster than timeout", deadline.isOverdue)
3737
}
3838

3939
test(env.withSuccess(), null)

js-envs/src/main/scala/org/scalajs/jsenv/RunConfig.scala

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,7 @@ final object RunConfig {
115115
* 1. inform it of the [[JSEnv]]'s capabilities
116116
* 1. invoke [[validate]] with every received [[RunConfig]]
117117
*
118-
* This ensures that enusre that all set config options are supported by the
119-
* [[JSEnv]].
118+
* This ensures that all set config options are supported by the [[JSEnv]].
120119
*/
121120
final class Validator private (
122121
inheritIO: Boolean,

0 commit comments

Comments
 (0)