Skip to content

Commit

Permalink
StrEncodingsEscaping{Enc,ToS}: improve JS spec readability
Browse files Browse the repository at this point in the history
Using `assert.notStrictEqual(match, null, ...)` to assert `match !==
null` is a bit weird. I think `assert.ok(match !== null, ...)` is more
readable.
  • Loading branch information
generalmimon committed Sep 29, 2024
1 parent adb0457 commit 958da6d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion spec/javascript/test_str_encodings_escaping_enc.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion spec/javascript/test_str_encodings_escaping_to_s.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 958da6d

Please sign in to comment.