@@ -398,7 +398,7 @@ func TestStorageContainerCheck(t *testing.T) {
398398 },
399399 expectedAllowed : false ,
400400 expectedError : false ,
401- expectedCauseMessage : "expected to find 1 storage container named \" missing-container\" " +
401+ expectedCauseMessage : "Expected to find 1 storage container named \" missing-container\" " +
402402 "on cluster \" test-cluster\" , found 0" ,
403403 },
404404 {
@@ -474,7 +474,7 @@ func TestStorageContainerCheck(t *testing.T) {
474474 },
475475 expectedAllowed : false ,
476476 expectedError : false ,
477- expectedCauseMessage : "expected to find 1 storage container named \" duplicate-container\" " +
477+ expectedCauseMessage : "Expected to find 1 storage container named \" duplicate-container\" " +
478478 "on cluster \" test-cluster\" , found 2" ,
479479 },
480480 {
@@ -597,7 +597,7 @@ func TestStorageContainerCheck(t *testing.T) {
597597 },
598598 expectedAllowed : false ,
599599 expectedError : false ,
600- expectedCauseMessage : "expected to find 1 cluster matching the reference, found 2" ,
600+ expectedCauseMessage : "Expected to find 1 cluster matching the reference, found 2" ,
601601 },
602602 {
603603 name : "error getting cluster" ,
@@ -637,7 +637,7 @@ func TestStorageContainerCheck(t *testing.T) {
637637 },
638638 expectedAllowed : false ,
639639 expectedError : true ,
640- expectedCauseMessage : "failed to check if storage container \" valid-container\" exists: " +
640+ expectedCauseMessage : "Failed to check if storage container \" valid-container\" exists: " +
641641 "failed to get cluster \" test-cluster\" : API error" ,
642642 },
643643 {
@@ -701,7 +701,7 @@ func TestStorageContainerCheck(t *testing.T) {
701701 },
702702 expectedAllowed : false ,
703703 expectedError : true ,
704- expectedCauseMessage : "failed to check if storage container \" valid-container\" exists in cluster " +
704+ expectedCauseMessage : "Failed to check if storage container \" valid-container\" exists in cluster " +
705705 "\" test-cluster\" : API error listing containers" ,
706706 },
707707 {
@@ -768,7 +768,7 @@ func TestStorageContainerCheck(t *testing.T) {
768768 },
769769 expectedAllowed : false ,
770770 expectedError : true ,
771- expectedCauseMessage : "failed to check if storage container \" valid-container\" exists in cluster " +
771+ expectedCauseMessage : "Failed to check if storage container \" valid-container\" exists in cluster " +
772772 "\" test-cluster\" : failed to get data returned by ListStorageContainers" +
773773 "(filter=\" name eq 'valid-container' and clusterExtId eq 'cluster-uuid-123'\" )" ,
774774 },
@@ -833,7 +833,7 @@ func TestStorageContainerCheck(t *testing.T) {
833833 },
834834 expectedAllowed : false ,
835835 expectedError : false ,
836- expectedCauseMessage : "expected to find 1 storage container named \" valid-container\" " +
836+ expectedCauseMessage : "Expected to find 1 storage container named \" valid-container\" " +
837837 "on cluster \" test-cluster\" , found 0" ,
838838 },
839839 {
0 commit comments