Skip to content

Commit

Permalink
fix labels
Browse files Browse the repository at this point in the history
  • Loading branch information
keith committed Dec 12, 2024
1 parent 0369c6f commit 5b3da68
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/shell/layering_check_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ function test_bad_layering_checks() {
! "$bazel" test --repo_env=APPLE_SUPPORT_LAYERING_CHECK_BETA=1 -- //test/layering_check:bad_layering_check &> "$TEST_log" || fail "Expected build failure"

expect_log_once "does not depend on a module exporting"
expect_log "test/layering_check/c.cpp:1:10: error: module //test/layering_check:bad_layering_check does not depend on a module exporting 'a.h'" "failed wrong layering_check"
expect_log "test/layering_check/c.cpp:1:10: error: module @@//test/layering_check:bad_layering_check does not depend on a module exporting 'a.h'" "failed wrong layering_check"
}

function test_bad_layering_checks_objc() {
! "$bazel" test --repo_env=APPLE_SUPPORT_LAYERING_CHECK_BETA=1 -- //test/layering_check:bad_layering_check_objc_test &> "$TEST_log" || fail "Expected build failure"

expect_log_once "does not depend on a module exporting"
expect_log "test/layering_check/c.m:1:10: error: module //test/layering_check:bad_layering_check_objc does not depend on a module exporting 'a.h'" "failed wrong layering_check"
expect_log "test/layering_check/c.m:1:10: error: module @@//test/layering_check:bad_layering_check_objc does not depend on a module exporting 'a.h'" "failed wrong layering_check"
}

run_suite "layering_check tests"

0 comments on commit 5b3da68

Please sign in to comment.