1
0
mirror of https://github.com/google/nomulus synced 2026-01-03 03:35:42 +00:00

Make getStdoutAsLines() protected for testing

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=135963935
This commit is contained in:
jianglai
2016-10-12 14:40:29 -07:00
committed by Ben McIlwain
parent 4e0b6d36c4
commit a01f238565

View File

@@ -182,7 +182,7 @@ public abstract class CommandTestCase<C extends Command> {
return new String(stdout.toByteArray(), UTF_8);
}
List<String> getStdoutAsLines() {
protected List<String> getStdoutAsLines() {
return Splitter.on('\n').omitEmptyStrings().trimResults().splitToList(getStdoutAsString());
}