diff options
author | Googler <noreply@google.com> | 2018-03-26 16:33:56 -0700 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-03-26 16:34:57 -0700 |
commit | 2c3990c516538053e49e443f65bffe11185bf9b2 (patch) | |
tree | b81a2409ab48b566174a60260be73f006fd491c0 /src/test/java/com/google/devtools/build/lib/standalone | |
parent | 88929e57d35591850cb814fa717a50c672c78179 (diff) |
Simplify Executor.getSpawnActionContext() by removing mnemonic: spawn is enough.
RELNOTES: None
PiperOrigin-RevId: 190544948
Diffstat (limited to 'src/test/java/com/google/devtools/build/lib/standalone')
-rw-r--r-- | src/test/java/com/google/devtools/build/lib/standalone/StandaloneSpawnStrategyTest.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/java/com/google/devtools/build/lib/standalone/StandaloneSpawnStrategyTest.java b/src/test/java/com/google/devtools/build/lib/standalone/StandaloneSpawnStrategyTest.java index 0e93ff27c6..6a46b8832e 100644 --- a/src/test/java/com/google/devtools/build/lib/standalone/StandaloneSpawnStrategyTest.java +++ b/src/test/java/com/google/devtools/build/lib/standalone/StandaloneSpawnStrategyTest.java @@ -171,14 +171,14 @@ public class StandaloneSpawnStrategyTest { @Test public void testBinTrueExecutesFine() throws Exception { Spawn spawn = createSpawn(getTrueCommand()); - executor.getSpawnActionContext(spawn.getMnemonic(), spawn).exec(spawn, createContext()); + executor.getSpawnActionContext(spawn).exec(spawn, createContext()); assertThat(out()).isEmpty(); assertThat(err()).isEmpty(); } private List<SpawnResult> run(Spawn spawn) throws Exception { - return executor.getSpawnActionContext(spawn.getMnemonic(), spawn).exec(spawn, createContext()); + return executor.getSpawnActionContext(spawn).exec(spawn, createContext()); } private ActionExecutionContext createContext() { |