Skip to content

Commit

Permalink
ua: fix typos in test
Browse files Browse the repository at this point in the history
  • Loading branch information
ceh committed Aug 15, 2020
1 parent 4db2662 commit a4c760d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions ua/variant_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ func TestVariant(t *testing.T) {
},
},
{
Name: "ExtensionObjeject",
Name: "ExtensionObject",
Struct: MustVariant(NewExtensionObject(
&AnonymousIdentityToken{PolicyID: "anonymous"},
)),
Expand All @@ -277,7 +277,7 @@ func TestVariant(t *testing.T) {
},
},
{
Name: "ExtensionObjeject - ServerStatusDataType",
Name: "ExtensionObject - ServerStatusDataType",
Struct: MustVariant(NewExtensionObject(
&ServerStatusDataType{
StartTime: time.Date(2019, 3, 29, 19, 45, 3, 816525000, time.UTC), // Mar 29, 2019 20:45:03.816525000 CET
Expand Down Expand Up @@ -574,9 +574,9 @@ func TestArray(t *testing.T) {
// array values
0x01, 0x00, 0x00, 0x00,
0x01, 0x00, 0x00, 0x00,
// array dimesions length
// array dimensions length
0xff, 0xff, 0xff, 0xff, // -1
// array dimesions
// array dimensions
0x01, 0x00, 0x00, 0x00,
0x01, 0x00, 0x00, 0x00,
}
Expand All @@ -595,9 +595,9 @@ func TestArray(t *testing.T) {
// array values
0x01, 0x00, 0x00, 0x00,
0x01, 0x00, 0x00, 0x00,
// array dimesions length
// array dimensions length
0x02, 0x00, 0x00, 0x00,
// array dimesions
// array dimensions
0x01, 0x00, 0x00, 0x00,
0xff, 0xff, 0xff, 0xff, // -1
}
Expand Down

0 comments on commit a4c760d

Please sign in to comment.