Skip to content

Commit

Permalink
Merge pull request #12 from kenshoo/liquibase333api
Browse files Browse the repository at this point in the history
test fix
  • Loading branch information
Ori Yechieli committed May 25, 2015
2 parents be959e0 + 2f8333c commit 53175a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/test/groovy/com/kenshoo/test/HostAssertionTest.groovy
Expand Up @@ -32,7 +32,7 @@ class HostsAssertionTest {
def gatewayLine = "netstat -rn".execute().text.split('\n').find {it.startsWith('0.0.0.0')}
def gateway = (gatewayLine =~ /(\d+.\d+.\d+.\d+)/)[1][0]
def prefix = (gateway =~ /\d+.\d+./)[0]
assertThat ips.first(),containsString(prefix)
assertThat 'local ip is '+ips.first(),ips.first(),containsString(prefix)
}

@Test(expected = Exception.class)
Expand Down
2 changes: 1 addition & 1 deletion src/test/resources/LimitedSubnets.groovy
@@ -1 +1 @@
['192.168.1', '10.1.']
['192.168.1', '10']

0 comments on commit 53175a7

Please sign in to comment.