summaryrefslogtreecommitdiff
path: root/cc/binary_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'cc/binary_test.go')
-rw-r--r--cc/binary_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cc/binary_test.go b/cc/binary_test.go
index 1b8b4a83c..cba5974fb 100644
--- a/cc/binary_test.go
+++ b/cc/binary_test.go
@@ -65,7 +65,7 @@ func TestBinaryLinkerScripts(t *testing.T) {
android.AssertStringListContains(t, "missing dependency on linker_scripts",
binFoo.Implicits.Strings(), "bar.ld")
android.AssertStringDoesContain(t, "missing flag for linker_scripts",
- libfoo.Args["ldFlags"], "-Wl,--script,foo.ld")
+ binFoo.Args["ldFlags"], "-Wl,--script,foo.ld")
android.AssertStringDoesContain(t, "missing flag for linker_scripts",
- libfoo.Args["ldFlags"], "-Wl,--script,bar.ld")
+ binFoo.Args["ldFlags"], "-Wl,--script,bar.ld")
}