Skip to content

Commit e9210f8

Browse files
Add tests for iota aco ids
1 parent 675c587 commit e9210f8

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

bcda/service/service_test.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,13 @@ func TestSupportedACOs(t *testing.T) {
8989
{"GUIDE invalid characters", "GUIDE99999", false},
9090
{"valid GUIDE", "GUIDE-99999", true},
9191

92+
{"Iota too short", "IOTA12", false},
93+
{"Iota too long", "IOTA0123", false},
94+
{"Iota invalid characters 1", "IOTA12Z", false},
95+
{"Iota invalid characters 2", "IOTA1YZ", false},
96+
{"Iota invalid characters 3", "IOTAXYZ", false},
97+
{"valid Iota", "IOTA123", true},
98+
9299
{"SBX too short", "SBXB1", false},
93100
{"SBX too long", "SBXPA0123", false},
94101
{"SBX invalid characters 1", "SBX0A123", false},

0 commit comments

Comments
 (0)