Skip to content

Commit 67c2b53

Browse files
Fix string type in oci-tool (#287)
This is the cause of the wercker failure.
1 parent d6ff984 commit 67c2b53

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/oci-tool/transforms_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -517,7 +517,7 @@ resource "oci_core_instance" "ExampleInstance" {
517517
actual := replaceTemplateTokens(original)
518518

519519
if expected != actual {
520-
t.Errorf("expected %d, got %d ", expected, actual)
520+
t.Errorf("expected %s, got %s ", expected, actual)
521521
}
522522
}
523523

@@ -541,6 +541,6 @@ resource "oci_identity_policy" "p" {
541541
actual := replaceTemplateTokens(original)
542542

543543
if expected != actual {
544-
t.Errorf("expected %d, got %d ", expected, actual)
544+
t.Errorf("expected %s, got %s ", expected, actual)
545545
}
546546
}

0 commit comments

Comments
 (0)