aboutsummaryrefslogtreecommitdiffstats
path: root/test/json/json_common_interface_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Remove unneeded `begin` and `end`Kazuhiro NISHIYAMA2020-09-301-6/+4
|
* Fix `Leaked tempfile`sKazuhiro NISHIYAMA2020-09-301-15/+3
| | | | | | | | | | | | | | | http://rubyci.s3.amazonaws.com/debian10/ruby-master/log/20200930T033004Z.diff.html.gz ``` [n/n] JSONCommonInterfaceTest#test_load = <elapsed> s [n/n] JSONCommonInterfaceTest#test_load_file = <elapsed> s +Leaked tempfile: JSONCommonInterfaceTest#test_load_file: #<Tempfile:<build-dir>/tmp/20200930-7601-ptnv6i (closed)> [n/n] JSONCommonInterfaceTest#test_load_file! = <elapsed> s +Leaked tempfile: JSONCommonInterfaceTest#test_load_file!: #<Tempfile:<build-dir>/tmp/20200930-7601-1la6m9 (closed)> [n/n] JSONCommonInterfaceTest#test_load_file_with_option = <elapsed> s +Leaked tempfile: JSONCommonInterfaceTest#test_load_file_with_option: #<Tempfile:<build-dir>/tmp/20200930-7601-blf9hz (closed)> [n/n] JSONCommonInterfaceTest#test_load_file_with_option! = <elapsed> s +Leaked tempfile: JSONCommonInterfaceTest#test_load_file_with_option!: #<Tempfile:<build-dir>/tmp/20200930-7601-b5gsdb (closed)> ```
* t/json/json_common_interface_test.rb: fix wrong indentationYusuke Endoh2020-09-251-1/+1
| | | | | | | | to prevent: ``` test/json/json_common_interface_test.rb:182: warning: mismatched indentations at 'end' with 'def' at 169 ```
* Extract assert assertion to assert_include and assert_not_include.Hiroshi SHIBATA2020-09-251-1/+2
|
* assert_true is not provided by test-unitHiroshi SHIBATA2020-09-251-1/+1
|
* [flori/json] Add `load_file` and `load_file!` methods, with tests. Fixes ↵Keith Bennett2020-09-251-0/+56
| | | | | | issue #386. https://github.com/flori/json/commit/0be363c99b
* [flori/json] fix test as reported in #343Florian Frank2019-10-141-1/+1
| | | | https://github.com/flori/json/commit/565c72ba9e
* Ignore warnings about ambiguous first argument of regexp with assert match.Hiroshi SHIBATA2019-06-011-3/+3
|
* * test/json/json_common_interface_test.rb: use assert_raise instead ofhsbt2016-07-131-3/+3
| | | | | | assert_raises. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55669 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/lib/test/unit.rb: added test files with `_test` suffix for jsonhsbt2016-07-131-0/+126
upstream. * test/json: merge original test files from json upstream. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55667 b2dd03c8-39d4-4d8f-98ff-823fe69b080e