summaryrefslogtreecommitdiff
path: root/spec/ruby/core/exception/fixtures/syntax_error.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/exception/fixtures/syntax_error.rb')
-rw-r--r--spec/ruby/core/exception/fixtures/syntax_error.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/spec/ruby/core/exception/fixtures/syntax_error.rb b/spec/ruby/core/exception/fixtures/syntax_error.rb
new file mode 100644
index 0000000000..ccec62f7a1
--- /dev/null
+++ b/spec/ruby/core/exception/fixtures/syntax_error.rb
@@ -0,0 +1,3 @@
+# rubocop:disable Lint/Syntax
+1+1=2
+# rubocop:enable Lint/Syntax