Skip to content

Commit 2c679f2

Browse files
matthijskooijmancmaglie
authored andcommitted
CommandLineTest: Produce less verbose output
In one test, `--get-pref` is passed on the commandline to prevent starting the full GUI. When ran without arguments, `--get-pref` causes *all* preferences to be printed. Using `--version` achieves the same (no GUI is started) with just a single line of output.
1 parent 514c4ba commit 2c679f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/test/processing/app/CommandLineTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ public void testCommandLinePreferencesSave() throws Exception {
111111
runArduino(true, true, null, new String[] {
112112
"--save-prefs",
113113
"--preferences-file", prefFile.getAbsolutePath(),
114-
"--get-pref", // avoids starting the GUI
114+
"--version", // avoids starting the GUI
115115
});
116116

117117
runArduino(true, true, null, new String[] {

0 commit comments

Comments
 (0)