Skip to content

Commit

Permalink
Fix typo in tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
llemaitre19 committed Mar 22, 2024
1 parent e2fb775 commit 39da818
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/jtsx-tests.el
Original file line number Diff line number Diff line change
Expand Up @@ -1498,7 +1498,7 @@ In that situation, Tree-sitter parser is very confused with this syntax. No wor

(ert-deftest jtsx-test-delete-jsx-expression ()
(let ((move-point #'(lambda () (goto-char 12)))
(content "(\n <>\n {`TEST'}\n </>\n);")
(content "(\n <>\n {'TEST'}\n </>\n);")
(result "(\n <>\n \n </>\n);"))
(should (equal (delete-jsx-node-into-buffer content move-point #'jtsx-jsx-mode) result))
(should (equal (delete-jsx-node-into-buffer content move-point #'jtsx-tsx-mode) result))))
Expand Down

0 comments on commit 39da818

Please sign in to comment.