Skip to content

Commit 0ef1d53

Browse files
tbashiyycamc314
authored andcommitted
fix
1 parent aee2a28 commit 0ef1d53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/oxc_linter/src/rules/eslint/prefer_object_spread.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -941,7 +941,7 @@ fn test() {
941941
("const obj = Object.assign<{}, Record<string, string[]>>({}, getObject());", "const obj = { ...getObject()};", None),
942942
("Object.assign<{}, A>({}, foo);", "({ ...foo});", None)
943943
];
944-
Tester::new(PreferObjectSpread::NAME, PreferObjectSpread::CATEGORY, pass, fail)
944+
Tester::new(PreferObjectSpread::NAME, PreferObjectSpread::PLUGIN, pass, fail)
945945
.expect_fix(fix)
946946
.test_and_snapshot();
947947
}

0 commit comments

Comments
 (0)