Skip to content

Commit

Permalink
test: Add test case for DurationFrom
Browse files Browse the repository at this point in the history
  • Loading branch information
mayooot committed Dec 12, 2024
1 parent 9c94c43 commit b710f2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/utils/expression/value_duration_from_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ func TestDurationFrom_Get(t *testing.T) {
},
{
args: args{
src: format.Ptr(".metadata.annotations[\"custom-duration\"]"),
src: format.Ptr(".metadata.annotations[\"custom-duration\"]"),
v: corev1.Pod{
ObjectMeta: metav1.ObjectMeta{
Annotations: map[string]string{"custom-duration": "7s"},
Expand Down

0 comments on commit b710f2a

Please sign in to comment.