Skip to content

Commit 0d13231

Browse files
committed
Resolve conflicts with 2 branch
1 parent 26ad6d4 commit 0d13231

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

test/error_messages.coffee

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1155,7 +1155,7 @@ test "imported members cannot be reassigned", ->
11551155
^^^
11561156
'''
11571157

1158-
test "CS only keywords can't be used as unaliased names in import lists", ->
1158+
test "CoffeeScript keywords cannot be used as unaliased names in import lists", ->
11591159
assertErrorFormat """
11601160
import { unless, baz as bar } from 'lib'
11611161
bar.barMethod()
@@ -1165,7 +1165,7 @@ test "CS only keywords can't be used as unaliased names in import lists", ->
11651165
^^^^^^
11661166
'''
11671167

1168-
test "CS only keywords can't be used as local names in import list aliases", ->
1168+
test "CoffeeScript keywords cannot be used as local names in import list aliases", ->
11691169
assertErrorFormat """
11701170
import { bar as unless, baz as bar } from 'lib'
11711171
bar.barMethod()

test/modules.coffee

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -510,15 +510,15 @@ test "export as aliases members imported from another module", ->
510510
} from 'lib';"""
511511
eq toJS(input), output
512512

513-
test "export list can contain CS only keywords", ->
513+
test "export list can contain CoffeeScript keywords", ->
514514
input = "export { unless } from 'lib'"
515515
output = """
516516
export {
517517
unless
518518
} from 'lib';"""
519519
eq toJS(input), output
520520

521-
test "export list can contain CS only keywords when aliasing", ->
521+
test "export list can contain CoffeeScript keywords when aliasing", ->
522522
input = "export { when as bar, baz as unless } from 'lib'"
523523
output = """
524524
export {
@@ -625,7 +625,7 @@ test "`as` can be used as an alias name", ->
625625
} from 'lib';"""
626626
eq toJS(input), output
627627

628-
test "CS only keywords can be used as imported names in import lists", ->
628+
test "CoffeeScript keywords can be used as imported names in import lists", ->
629629
input = """
630630
import { unless as bar } from 'lib'
631631
bar.barMethod()"""

0 commit comments

Comments
 (0)