diff --git a/src/compiler/compile/compiler_errors.ts b/src/compiler/compile/compiler_errors.ts
index da0ad0defe..02736a7a07 100644
--- a/src/compiler/compile/compiler_errors.ts
+++ b/src/compiler/compile/compiler_errors.ts
@@ -96,10 +96,6 @@ export default {
code: 'illegal-attribute',
message: `'${name}' is not a valid attribute name`
}),
- invalid_slot_attribute: {
- code: 'invalid-slot-attribute',
- message: 'slot attribute cannot have a dynamic value'
- },
duplicate_slot_attribute: (name: string) => ({
code: 'duplicate-slot-attribute',
message: `Duplicate '${name}' slot`
diff --git a/test/validator/samples/component-slot-dynamic-attribute/errors.json b/test/validator/samples/component-slot-dynamic-attribute/errors.json
deleted file mode 100644
index e99ab7bd50..0000000000
--- a/test/validator/samples/component-slot-dynamic-attribute/errors.json
+++ /dev/null
@@ -1,12 +0,0 @@
-[{
- "code": "invalid-slot-attribute",
- "message": "slot attribute cannot have a dynamic value",
- "start": {
- "line": 6,
- "column": 9
- },
- "end": {
- "line": 6,
- "column": 19
- }
-}]
diff --git a/test/validator/samples/component-slot-dynamic-attribute/input.svelte b/test/validator/samples/component-slot-dynamic-attribute/input.svelte
deleted file mode 100644
index 1eb8b4f1f0..0000000000
--- a/test/validator/samples/component-slot-dynamic-attribute/input.svelte
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
-
-
\ No newline at end of file
diff --git a/test/validator/samples/component-slot-dynamic/errors.json b/test/validator/samples/component-slot-dynamic/errors.json
deleted file mode 100644
index a449d253ef..0000000000
--- a/test/validator/samples/component-slot-dynamic/errors.json
+++ /dev/null
@@ -1,12 +0,0 @@
-[{
- "code": "dynamic-slot-name",
- "message": " name cannot be dynamic",
- "start": {
- "line": 1,
- "column": 6
- },
- "end": {
- "line": 1,
- "column": 18
- }
-}]
diff --git a/test/validator/samples/component-slot-dynamic/input.svelte b/test/validator/samples/component-slot-dynamic/input.svelte
deleted file mode 100644
index 74348a49db..0000000000
--- a/test/validator/samples/component-slot-dynamic/input.svelte
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file