Unverified Commit 8c75be1e authored by Iskander (Alex) Sharipov's avatar Iskander (Alex) Sharipov Committed by GitHub
Browse files

nomad/command: fix strings.Contains args order


Swapped call args order to meet the expected behavior.
Signed-off-by: default avatarIskander Sharipov <quasilyte@gmail.com>
parent dd22f8aa
Showing with 1 addition and 1 deletion
+1 -1
......@@ -81,7 +81,7 @@ func TestInitCommand_defaultJob(t *testing.T) {
// Ensure the job file is always written with spaces instead of tabs. Since
// the default job file is embedded in the go file, it's easy for tabs to
// slip in.
if strings.Contains("\t", defaultJob) {
if strings.Contains(defaultJob, "\t") {
t.Error("default job contains tab character - please convert to spaces")
}
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment