ruby/test/fiddle
ko1 3fe69a0da4 Use mutable strings for mutation tests.
* test/fiddle/test_func.rb (test_string): this test break String buffer
  by `strcpy` ("000" -> "123"). However, the string literal "000" with
  `frozen_string_literal: true` returns a string object from frozen
  string pool. So that after this test "000" from fstring pool becomes
  "123" (modified string). 'test/date/' uses "000" (as fstring) and tests
  are fails (we could check with `make test-all TESTS='fiddle date'`).

* test/fiddle/test_function.rb: ditto.

* test/fiddle/test_import.rb: ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59861 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-09-12 23:15:34 +00:00
..
helper.rb Merge fiddle-1.0.0.beta2 from upstream. 2017-09-12 11:52:23 +00:00
test_c_struct_entry.rb Merge fiddle-1.0.0.beta2 from upstream. 2017-09-12 11:52:23 +00:00
test_c_union_entity.rb Merge fiddle-1.0.0.beta2 from upstream. 2017-09-12 11:52:23 +00:00
test_closure.rb Merge fiddle-1.0.0.beta2 from upstream. 2017-09-12 11:52:23 +00:00
test_cparser.rb Merge fiddle-1.0.0.beta2 from upstream. 2017-09-12 11:52:23 +00:00
test_fiddle.rb Merge fiddle-1.0.0.beta2 from upstream. 2017-09-12 11:52:23 +00:00
test_func.rb Use mutable strings for mutation tests. 2017-09-12 23:15:34 +00:00
test_function.rb Use mutable strings for mutation tests. 2017-09-12 23:15:34 +00:00
test_handle.rb Merge fiddle-1.0.0.beta2 from upstream. 2017-09-12 11:52:23 +00:00
test_import.rb Use mutable strings for mutation tests. 2017-09-12 23:15:34 +00:00
test_pointer.rb Merge fiddle-1.0.0.beta2 from upstream. 2017-09-12 11:52:23 +00:00