test: fix a test case about strict mode
parent
0232696ace
commit
b22e6fa11f
|
@ -110,6 +110,7 @@ func TestDriftctlRun_BasicBehavior(t *testing.T) {
|
||||||
assert: func(result *test.ScanResult, err error) {
|
assert: func(result *test.ScanResult, err error) {
|
||||||
result.NotZero(result.Duration)
|
result.NotZero(result.Duration)
|
||||||
},
|
},
|
||||||
|
options: &pkg.ScanOptions{},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "infrastructure should be in sync",
|
name: "infrastructure should be in sync",
|
||||||
|
@ -314,7 +315,7 @@ func TestDriftctlRun_BasicBehavior(t *testing.T) {
|
||||||
},
|
},
|
||||||
assert: func(result *test.ScanResult, err error) {
|
assert: func(result *test.ScanResult, err error) {
|
||||||
result.AssertManagedCount(2)
|
result.AssertManagedCount(2)
|
||||||
result.AssertUnmanagedCount(1)
|
result.AssertUnmanagedCount(2)
|
||||||
result.AssertDeletedCount(0)
|
result.AssertDeletedCount(0)
|
||||||
result.AssertDriftCountTotal(0)
|
result.AssertDriftCountTotal(0)
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue