mirror of
https://github.com/hashicorp/packer.git
synced 2026-06-11 01:30:06 -04:00
More lint issues fixed...
This commit is contained in:
parent
32b64e0576
commit
159ea595df
1 changed files with 2 additions and 2 deletions
|
|
@ -150,7 +150,7 @@ subnet 127.0.0.0 netmask 255.255.255.252 {
|
|||
}
|
||||
|
||||
for index := range expected {
|
||||
if string(expected[index]) != result[index] {
|
||||
if expected[index] != result[index] {
|
||||
t.Errorf("unexpected token at index %d: %v != %v", index, expected[index], result[index])
|
||||
}
|
||||
}
|
||||
|
|
@ -386,7 +386,7 @@ func TestParserTokenizeNetworkMap(t *testing.T) {
|
|||
}
|
||||
|
||||
for index := range expected {
|
||||
if expected[index] != string(result[index]) {
|
||||
if expected[index] != result[index] {
|
||||
t.Errorf("unexpected token at index %d: %v != %v", index, expected[index], result[index])
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue