aboutsummaryrefslogtreecommitdiffstats
path: root/entity/dag/op_set_metadata_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'entity/dag/op_set_metadata_test.go')
-rw-r--r--entity/dag/op_set_metadata_test.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/entity/dag/op_set_metadata_test.go b/entity/dag/op_set_metadata_test.go
index 07ece013..a06f89da 100644
--- a/entity/dag/op_set_metadata_test.go
+++ b/entity/dag/op_set_metadata_test.go
@@ -54,7 +54,7 @@ func TestSetMetadata(t *testing.T) {
target1Metadata := snap.AllOperations()[0].AllMetadata()
require.Len(t, target1Metadata, 2)
- // original key is not overrided
+ // original key is not overridden
require.Equal(t, target1Metadata["key"], "value")
// new key is set
require.Equal(t, target1Metadata["key2"], "value")
@@ -78,7 +78,7 @@ func TestSetMetadata(t *testing.T) {
target2Metadata = snap.AllOperations()[1].AllMetadata()
require.Len(t, target2Metadata, 2)
- // original key is not overrided
+ // original key is not overridden
require.Equal(t, target2Metadata["key2"], "value2")
// new key is set
require.Equal(t, target2Metadata["key3"], "value3")
@@ -93,9 +93,9 @@ func TestSetMetadata(t *testing.T) {
target1Metadata = snap.AllOperations()[0].AllMetadata()
require.Len(t, target1Metadata, 2)
- // original key is not overrided
+ // original key is not overridden
require.Equal(t, target1Metadata["key"], "value")
- // previously set key is not overrided
+ // previously set key is not overridden
require.Equal(t, target1Metadata["key2"], "value")
target2Metadata = snap.AllOperations()[1].AllMetadata()