diff options
author | Yaroslav Halchenko <debian@onerussian.com> | 2023-01-23 10:36:49 -0500 |
---|---|---|
committer | Yaroslav Halchenko <debian@onerussian.com> | 2023-01-23 10:38:15 -0500 |
commit | 572e3cfb3d32b826a126ba7ba70d7b215aa0e339 (patch) | |
tree | 417c2cea7d500a8a10cb015e126d3f1e4c3d0786 /entity/dag/op_set_metadata_test.go | |
parent | 064d866ca54cdc11f325ef83a290f3614cef144d (diff) | |
download | git-bug-572e3cfb3d32b826a126ba7ba70d7b215aa0e339.tar.gz |
[DATALAD RUNCMD] Fix one ambigous overrided
=== Do not change lines below ===
{
"chain": [],
"cmd": "sed -i -e s,overrided,overridden,g ./entity/dag/op_set_metadata_test.go",
"exit": 0,
"extra_inputs": [],
"inputs": [],
"outputs": [],
"pwd": "."
}
^^^ Do not change lines above ^^^
Diffstat (limited to 'entity/dag/op_set_metadata_test.go')
-rw-r--r-- | entity/dag/op_set_metadata_test.go | 8 |
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() |