Skip to content

Commit

Permalink
improve test
Browse files Browse the repository at this point in the history
  • Loading branch information
zspitzer committed Dec 7, 2024
1 parent a18cc08 commit 1cab43d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/jira/Jira2718.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -63,17 +63,17 @@
function testScriptFunctionCreateTimespan(){
var initVal=scriptFunctionCreateTimespan();
sleep(1);
assertEquals(true,initVal == scriptFunctionCreateTimespan());
expect(initVal).toBe(scriptFunctionCreateTimespan());
sleep(25);
assertEquals(false,initVal == scriptFunctionCreateTimespan());
expect(initVal).notToBe(scriptFunctionCreateTimespan());
}

function testTagFunctionCreateTimespan(){
var initVal=tagFunctionCreateTimespan();
sleep(1);
assertEquals(true,initVal == tagFunctionCreateTimespan());
expect(initVal).toBe(tagFunctionCreateTimespan());
sleep(25);
assertEquals(false,initVal == tagFunctionCreateTimespan());
expect(initVal).notToBe(tagFunctionCreateTimespan());
}

// createTimeSpan(0,0,0,0,25)
Expand Down

0 comments on commit 1cab43d

Please sign in to comment.