Skip to content

Commit

Permalink
remove test
Browse files Browse the repository at this point in the history
  • Loading branch information
Vagab committed Dec 4, 2024
1 parent 723e681 commit 0d360a0
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions test/data.test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,6 @@ class Empty < Literal::Data
expect(person).to_be(:frozen?)
end

test "mutable attributes are duplicated and frozen" do
name = +"John"
person = Person.new(name:)

expect(person.name).to_be(:frozen?)
expect(person.name).not_to_equal?(name)
end

test "immutable attributes are not duplicated" do
name = "John"
person = Person.new(name:)
Expand Down

0 comments on commit 0d360a0

Please sign in to comment.