-
Notifications
You must be signed in to change notification settings - Fork 34
Open
Description
Starting at line 77 in test/integration/groovy/com/mkobit/libraryexample/ExampleSrcSpockSpec.groovy:
then:
// JenkinsRule has different assertion capabilities
WorkflowRun run = rule.assertBuildStatusSuccess(futureRun)
rule.assertLogContains('''
[Pipeline] lock
Trying to acquire lock on [myLock]
Resource [myLock] did not exist. Created.
Lock acquired on [myLock]
'''.stripIndent(), run)
}
should be
then:
// JenkinsRule has different assertion capabilities
WorkflowRun run = rule.assertBuildStatusSuccess(futureRun)
rule.assertLogContains('''
[Pipeline] lock
Trying to acquire lock on [myLock]
Resource [myLock] did not exist. Created.
Lock acquired on [myLock]
'''.stripIndent(), run)
}
Metadata
Metadata
Assignees
Labels
No labels