Skip to content

Commit

Permalink
test: fix test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
Fuco1 committed Apr 10, 2024
1 parent ff2b2f4 commit f97b6d6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions test/smartparens-rust-test.el
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,7 @@ fn bar(x: u64) -> bool {
(rust-mode)
(smartparens-strict-mode 1)
(sp-backward-sexp)
(execute-kbd-macro "fn ")
(sp-buffer-equals "fn |foo() -> u32 {}")))
(sp-buffer-equals "foo|() -> u32 {}")))

;; #793
(ert-deftest sp-test-rust-kill-defun ()
Expand Down
3 changes: 1 addition & 2 deletions test/smartparens-swift-test.el
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,7 @@ func bar(x: UInt64) -> Bool {
(swift-mode)
(smartparens-strict-mode 1)
(sp-backward-sexp)
(execute-kbd-macro "func ")
(sp-buffer-equals "func |foo() -> UInt32 {}")))
(sp-buffer-equals "foo|() -> UInt32 {}")))

;; #793
(ert-deftest sp-test-swift-kill-defun ()
Expand Down

0 comments on commit f97b6d6

Please sign in to comment.