Skip to content

Commit

Permalink
Update test text
Browse files Browse the repository at this point in the history
  • Loading branch information
sandersn committed May 13, 2022
1 parent e1958f7 commit 86fc8db
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions tests/baselines/reference/bigintMissingES2020.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ declare function test<A, B extends A>(): void;
test<{t?: string}, object>();
test<{t?: string}, bigint>();

// should have global error when bigint is used but ES2020 lib is not present
// no error when bigint is used even when ES2020 lib is not present


//// [bigintMissingES2020.js]
test();
test();
// should have global error when bigint is used but ES2020 lib is not present
// no error when bigint is used even when ES2020 lib is not present
2 changes: 1 addition & 1 deletion tests/baselines/reference/bigintMissingES2020.symbols
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ test<{t?: string}, bigint>();
>test : Symbol(test, Decl(bigintMissingES2020.ts, 0, 0))
>t : Symbol(t, Decl(bigintMissingES2020.ts, 3, 6))

// should have global error when bigint is used but ES2020 lib is not present
// no error when bigint is used even when ES2020 lib is not present

2 changes: 1 addition & 1 deletion tests/baselines/reference/bigintMissingES2020.types
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ test<{t?: string}, bigint>();
>test : <A, B extends A>() => void
>t : string

// should have global error when bigint is used but ES2020 lib is not present
// no error when bigint is used even when ES2020 lib is not present

4 changes: 2 additions & 2 deletions tests/baselines/reference/bigintMissingESNext.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ declare function test<A, B extends A>(): void;
test<{t?: string}, object>();
test<{t?: string}, bigint>();

// should have global error when bigint is used but ES2020 lib is not present
// no error when bigint is used even when ES2020 lib is not present


//// [bigintMissingESNext.js]
test();
test();
// should have global error when bigint is used but ES2020 lib is not present
// no error when bigint is used even when ES2020 lib is not present
2 changes: 1 addition & 1 deletion tests/baselines/reference/bigintMissingESNext.symbols
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ test<{t?: string}, bigint>();
>test : Symbol(test, Decl(bigintMissingESNext.ts, 0, 0))
>t : Symbol(t, Decl(bigintMissingESNext.ts, 3, 6))

// should have global error when bigint is used but ES2020 lib is not present
// no error when bigint is used even when ES2020 lib is not present

2 changes: 1 addition & 1 deletion tests/baselines/reference/bigintMissingESNext.types
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ test<{t?: string}, bigint>();
>test : <A, B extends A>() => void
>t : string

// should have global error when bigint is used but ES2020 lib is not present
// no error when bigint is used even when ES2020 lib is not present

2 changes: 1 addition & 1 deletion tests/cases/conformance/es2020/bigintMissingES2020.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ declare function test<A, B extends A>(): void;
test<{t?: string}, object>();
test<{t?: string}, bigint>();

// should have global error when bigint is used but ES2020 lib is not present
// no error when bigint is used even when ES2020 lib is not present
2 changes: 1 addition & 1 deletion tests/cases/conformance/es2020/bigintMissingESNext.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ declare function test<A, B extends A>(): void;
test<{t?: string}, object>();
test<{t?: string}, bigint>();

// should have global error when bigint is used but ES2020 lib is not present
// no error when bigint is used even when ES2020 lib is not present

0 comments on commit 86fc8db

Please sign in to comment.