Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
katre committed Feb 18, 2022
1 parent 30e1e23 commit 2810527
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2300,7 +2300,7 @@ public void testRuleAddToolchain() throws Exception {
"def impl(ctx): return None",
"r1 = rule(impl, toolchains=['//test:my_toolchain_type'])");
RuleClass c = ((StarlarkRuleFunction) ev.lookup("r1")).getRuleClass();
assertThat(c).hasToolchainType("/test:my_toolchain_type");
assertThat(c).hasToolchainType("//test:my_toolchain_type");
}

@Test
Expand Down

0 comments on commit 2810527

Please sign in to comment.