Skip to content

Commit fb11334

Browse files
authored
Fix typo in --emit-tsd error message (#25725)
1 parent b960e51 commit fb11334

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/test_other.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3742,7 +3742,7 @@ def test_emit_tsd_sync_compilation(self):
37423742
shared.check_call(cmd)
37433743

37443744
def test_emit_tsd_wasm_only(self):
3745-
expected = 'Wasm only output is not compatible --emit-tsd'
3745+
expected = 'Wasm only output is not compatible with --emit-tsd'
37463746
self.assert_fail([EMCC, test_file('other/test_emit_tsd.c'), '--emit-tsd', 'test_emit_tsd_wasm_only.d.ts', '-o', 'out.wasm'], expected)
37473747

37483748
def test_emconfig(self):

tools/link.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1013,7 +1013,7 @@ def limit_incoming_module_api():
10131013

10141014
if options.oformat in (OFormat.WASM, OFormat.BARE):
10151015
if options.emit_tsd:
1016-
exit_with_error('Wasm only output is not compatible --emit-tsd')
1016+
exit_with_error('Wasm only output is not compatible with --emit-tsd')
10171017
# If the user asks directly for a wasm file then this *is* the target
10181018
wasm_target = target
10191019
elif settings.SINGLE_FILE or settings.WASM == 0:

0 commit comments

Comments
 (0)