diff options
author | Determinant <ted.sybil@gmail.com> | 2018-02-11 19:28:09 -0500 |
---|---|---|
committer | Determinant <ted.sybil@gmail.com> | 2018-02-11 19:28:09 -0500 |
commit | 3ac928b90e7dd3f11f92490edac283c6e2bc6fda (patch) | |
tree | 93a6753afa56774c9b8ecac2cfaabd7979b99bdd /test_ref.txt | |
parent | 9da19de63af8876e8cfaed4abe5a9a6f957986a7 (diff) |
add rejection example
Diffstat (limited to 'test_ref.txt')
-rw-r--r-- | test_ref.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test_ref.txt b/test_ref.txt index 142ba93..574a8b3 100644 --- a/test_ref.txt +++ b/test_ref.txt @@ -23,4 +23,7 @@ void return is ok void parameter is ok void parameter will ignore the returned value promise 1, 6 resolved 100 -finally, promise 9 resolved with 101 +promise 9 resolved with 101 +rejecting with value -1 +reason: -1 +reason: 0 |