Skip to content

Commit

Permalink
cargo clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
jedel1043 committed Mar 14, 2023
1 parent c6dfb9b commit b940ea9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions boa_engine/src/builtins/string/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -877,7 +877,7 @@ fn from_code_point() {
"String.fromCharCode(0xD800, 0xD8FF)",
js_string!(&[0xD800, 0xD8FF]),
),
TestAction::assert_eq("String.fromCodePoint(9731, 9733, 9842, 0x2F804)", "☃★♲你"),
TestAction::assert_eq("String.fromCodePoint(9731, 9733, 9842, 0x4F60)", "☃★♲"),
TestAction::assert_native_error(
"String.fromCodePoint('_')",
ErrorKind::Range,
Expand Down Expand Up @@ -908,5 +908,5 @@ fn from_code_point() {
ErrorKind::Range,
"codepoint `NaN` is not an integer",
),
])
]);
}

0 comments on commit b940ea9

Please sign in to comment.