<NME> config.rb
<BEF> ADDFILE
<MSG> - regression test to ensure single-quoted values as attribute names is
  valid.

<DFF> @@ -0,0 +1,21 @@
+# config syntax tests
+#
+
+require "logstash/config/grammar"
+require "logstash/config/config_ast"
+
+describe LogStashConfigParser do
+  it "should permit single-quoted attribute names" do
+    parser = LogStashConfigParser.new
+    config = parser.parse(%q(
+      input {
+        example {
+          'foo' => 'bar'
+          test => { 'bar' => 'baz' }
+        }
+      }
+    ))
+
+    reject { config }.nil?
+  end
+end

- regression test to ensure single-quoted values as attribute names is   valid.