From d0ac45222c11809209efe5b2a9ea3a9c5b487604 Mon Sep 17 00:00:00 2001 From: Yann Hamon Date: Sun, 15 Nov 2020 20:27:44 +0100 Subject: [PATCH] sort tests --- acceptance.bats | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/acceptance.bats b/acceptance.bats index 7d698e8..a953f80 100755 --- a/acceptance.bats +++ b/acceptance.bats @@ -82,11 +82,6 @@ [ "$output" = "Summary: 0 resource found in 1 file - Valid: 0, Invalid: 0, Errors: 0, Skipped: 0" ] } -@test "Fail when parsing a config with additional properties and strict set" { - run bin/kubeconform -strict -kubernetes-version 1.16.0 fixtures/extra_property.yaml - [ "$status" -eq 1 ] -} - @test "Fail when parsing a config with CRD" { run bin/kubeconform fixtures/test_crd.yaml [ "$status" -eq 1 ] @@ -108,6 +103,11 @@ [ "$output" = "Summary: 1 resource found in 1 file - Valid: 1, Invalid: 0, Errors: 0, Skipped: 0" ] } +@test "Fail when parsing a config with additional properties and strict set" { + run bin/kubeconform -strict -kubernetes-version 1.16.0 fixtures/extra_property.yaml + [ "$status" -eq 1 ] +} + @test "Pass when using a valid, preset -schema-location" { run bin/kubeconform -schema-location https://kubernetesjsonschema.dev fixtures/valid.yaml [ "$status" -eq 0 ]