Skip to content

Commit

Permalink
Fixed throwUnlessAsync
Browse files Browse the repository at this point in the history
Fixes #2026
  • Loading branch information
sgravrock committed Feb 6, 2024
1 parent 726c152 commit 03098e8
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion lib/jasmine-core/boot0.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
Copyright (c) 2008-2019 Pivotal Labs
Copyright (c) 2008-2023 The Jasmine developers
Copyright (c) 2008-2024 The Jasmine developers
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
Expand Down
2 changes: 1 addition & 1 deletion lib/jasmine-core/boot1.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
Copyright (c) 2008-2019 Pivotal Labs
Copyright (c) 2008-2023 The Jasmine developers
Copyright (c) 2008-2024 The Jasmine developers
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
Expand Down
2 changes: 1 addition & 1 deletion lib/jasmine-core/jasmine-html.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
Copyright (c) 2008-2019 Pivotal Labs
Copyright (c) 2008-2023 The Jasmine developers
Copyright (c) 2008-2024 The Jasmine developers
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
Expand Down
4 changes: 2 additions & 2 deletions lib/jasmine-core/jasmine.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
Copyright (c) 2008-2019 Pivotal Labs
Copyright (c) 2008-2023 The Jasmine developers
Copyright (c) 2008-2024 The Jasmine developers
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
Expand Down Expand Up @@ -8309,7 +8309,7 @@ getJasmineRequireObj().interface = function(jasmine, env) {
* @return {matchers}
*/
throwUnlessAsync: function(actual) {
return env.throwUnless(actual);
return env.throwUnlessAsync(actual);
},

/**
Expand Down
2 changes: 1 addition & 1 deletion src/core/requireInterface.js
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ getJasmineRequireObj().interface = function(jasmine, env) {
* @return {matchers}
*/
throwUnlessAsync: function(actual) {
return env.throwUnless(actual);
return env.throwUnlessAsync(actual);
},

/**
Expand Down

0 comments on commit 03098e8

Please sign in to comment.