Skip to content

Commit da75398

Browse files
committed
chore: Move errors to variables in the datavalue tests
1 parent 6490db5 commit da75398

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal/datavalue/datavalue_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1241,7 +1241,7 @@ func TestDatavalueIsTruthy(t *testing.T) {
12411241
},
12421242
{
12431243
name: "error",
1244-
input: Error(errors.New("test")),
1244+
input: Error(errTest),
12451245
expected: true,
12461246
},
12471247
{

0 commit comments

Comments
 (0)