Skip to content

Commit

Permalink
chore: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
hi-ogawa committed Dec 12, 2024
1 parent a038498 commit 80c82e6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ console.log(
fn test_sourcemap() {
let config = ReplaceGlobalDefinesConfig::new(&[
("__OBJECT__", r#"{"hello": "test"}"#),
("__STRING__", r#""develoopment""#),
("__STRING__", r#""development""#),
])
.unwrap();
let source_text = r"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ snapshot_kind: text
(0:0) "1;\n" --> (0:0) "1;\n"
(1:0) "__OBJECT__;\n" --> (1:0) "({ 'hello': 'test' });\n"
(2:0) "2;\n" --> (2:0) "2;\n"
(3:0) "__STRING__;\n" --> (3:0) "'develoopment';\n"
(3:0) "__STRING__;\n" --> (3:0) "'development';\n"
(4:0) "3;\n" --> (4:0) "3;\n"
(5:0) "log(__OBJECT__)" --> (5:0) "log({ 'hello': 'test' })"
(5:15) ";\n" --> (5:24) ";\n"
(6:0) "4;\n" --> (6:0) "4;\n"
(7:0) "log(__STRING__)" --> (7:0) "log('develoopment')"
(7:15) ";\n" --> (7:19) ";\n"
(7:0) "log(__STRING__)" --> (7:0) "log('development')"
(7:15) ";\n" --> (7:18) ";\n"
(8:0) "5;\n" --> (8:0) "5;\n"

0 comments on commit 80c82e6

Please sign in to comment.