Skip to content

Commit e1034f9

Browse files
committed
Merge pull request elixir-editors#40 from LnL7/fix-privaterecord
added spec for private records
2 parents f8a0ca0 + 886f877 commit e1034f9

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

spec/syntax/records_spec.rb

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# encoding: utf-8
2+
require 'spec_helper'
3+
4+
describe "Record syntax" do
5+
it "private record symbol" do
6+
assert_correct_syntax 'elixirSymbol', ':user', <<-EOF
7+
defrecordp :user, name: "José", age: 25
8+
EOF
9+
end
10+
end

0 commit comments

Comments
 (0)