         },]
       assert expected_errors == errors
     end
+
+    should "error for maps" do
+      errors = """
+      %{test: fooBar} = foo_bar
+      """ |> test
+      expected_errors = [
+        %Error{
+          rule:     VariableName,
+          message:  "Variable names should be in snake_case",
+          line: 2,
+        },]
+      assert expected_errors = errors
+    end
   end
 end

      assert expected_errors == errors
    end

    should "error for non snake_case multi-member tuples" do
      errors = """
      {foo, barBaz} = baz
      """ |> test

      assert expected_errors == errors
    end

    should "error for tuples" do
      errors = """
      {fooBar} = baz
      """ |> test
