summaryrefslogtreecommitdiff
path: root/tests/json_common_interface_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* t/json/json_common_interface_test.rb: fix wrong indentationYusuke Endoh2020-11-121-1/+1
| | | | | | | | to prevent: ``` test/json/json_common_interface_test.rb:182: warning: mismatched indentations at 'end' with 'def' at 169 ```
* Remove unneeded `begin` and `end`Kazuhiro NISHIYAMA2020-11-121-6/+4
|
* Fix `Leaked tempfile`sKazuhiro NISHIYAMA2020-11-121-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)> ```
* Extract assert assertion to assert_include and assert_not_include.Hiroshi SHIBATA2020-11-121-1/+2
|
* assert_true is not provided by test-unitHiroshi SHIBATA2020-11-121-1/+1
|
* Add `load_file` and `load_file!` methods, with tests. Fixes issue #386.Keith Bennett2020-06-301-0/+56
|
* Ignore warnings about ambiguous first argument of regexp with assert match.Hiroshi SHIBATA2019-10-311-3/+3
|
* fix test as reported in #343Florian Frank2017-12-211-1/+1
|
* Fix inconsistency usage for assertion methodsSHIBATA Hiroshi2016-07-141-3/+3
|
* Add frozen_string_literal: falseNobuyoshi Nakada2016-06-211-0/+1
| | | | When you change this to true, you may need to add more tests.
* Use assert_raise consistentlyNobuyoshi Nakada2016-06-211-2/+2
|
* Test common interfaceFlorian Frank2016-06-031-1/+23
|
* Use better name for this featureFlorian Frank2016-06-021-3/+3
|
* Remove quirks modeFlorian Frank2016-06-021-1/+6
|
* Specify JSON module interfacerfc-7159-jsonFlorian Frank2015-06-151-2/+1
|
* Disallow usage of symbolize_names and create_additionsFlorian Frank2015-06-151-4/+2
|
* Refactor tests and make pure parser greenFlorian Frank2015-06-151-0/+101