update tests for updated output

This commit is contained in:
James Bardin 2017-11-03 11:13:31 -04:00
parent 2ed529f81a
commit 964054efc0
1 changed files with 2 additions and 2 deletions

View File

@ -30,7 +30,7 @@ func TestGet(t *testing.T) {
}
output := ui.OutputWriter.String()
if !strings.Contains(output, `Module "foo"`) {
if !strings.Contains(output, "module.foo") {
t.Fatalf("doesn't look like get: %s", output)
}
if strings.Contains(output, "(update)") {
@ -78,7 +78,7 @@ func TestGet_noArgs(t *testing.T) {
}
output := ui.OutputWriter.String()
if !strings.Contains(output, `Module "foo"`) {
if !strings.Contains(output, "module.foo") {
t.Fatalf("doesn't look like get: %s", output)
}
if strings.Contains(output, "(update)") {