diff options
Diffstat (limited to 'src/test/shell')
-rwxr-xr-x | src/test/shell/bazel/generate_workspace_test.sh | 4 | ||||
-rwxr-xr-x | src/test/shell/bazel/local_repository_test.sh | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/test/shell/bazel/generate_workspace_test.sh b/src/test/shell/bazel/generate_workspace_test.sh index 3ce865a4f7..d96e35e2cb 100755 --- a/src/test/shell/bazel/generate_workspace_test.sh +++ b/src/test/shell/bazel/generate_workspace_test.sh @@ -118,7 +118,7 @@ EOF assert_contains "artifact = \"blorp:glorp:1.2.3\"," ws assert_contains "repository = \"http://localhost:$fileserver_port/\"," ws - assert_contains "\"@blorp/glorp//jar\"," build + assert_contains "\"@blorp_glorp//jar\"," build } function test_invalid_pom() { @@ -209,7 +209,7 @@ EOF EOF generate_workspace -m $TEST_TMPDIR/b1 &> $TEST_log || fail "generate failed" - expect_log "xyz/b2 was defined in $TEST_TMPDIR/b2/pom.xml which isn't a repository URL" + expect_log "xyz_b2 was defined in $TEST_TMPDIR/b2/pom.xml which isn't a repository URL" assert_contains "artifact = \"xyz:b2:1.0\"," $(get_workspace_file) } diff --git a/src/test/shell/bazel/local_repository_test.sh b/src/test/shell/bazel/local_repository_test.sh index 71d0c82db7..c0c8cb5de0 100755 --- a/src/test/shell/bazel/local_repository_test.sh +++ b/src/test/shell/bazel/local_repository_test.sh @@ -921,7 +921,7 @@ local_repository( EOF bazel build @r/a//:bin &> $TEST_log && fail "expected build failure, but succeeded" - expect_log "the 'name' attribute must not contain slashes" + expect_log "workspace names may contain only A-Z, a-z, 0-9, '-', '_' and '.'" } run_suite "local repository tests" |