Skip to content

Commit 7bc5410

Browse files
committed
Fix test case name
1 parent 903b692 commit 7bc5410

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/Async/Promise.vimspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -860,7 +860,7 @@ Describe Async.Promise
860860
Assert Equals(error, result)
861861
End
862862

863-
It should not call when promise catched
863+
It should not call when catched rejected promise
864864
let l = l:
865865
call P.on_unhandled_rejection({ result -> extend(l, { 'result': result }) })
866866

@@ -869,7 +869,7 @@ Describe Async.Promise
869869
Assert KeyNotExists(l, 'result')
870870
End
871871

872-
It should not call when promise catched
872+
It should not call when catched thrown error
873873
let l = l:
874874
call P.on_unhandled_rejection({ result -> extend(l, { 'result': result }) })
875875

0 commit comments

Comments
 (0)