File: test_helper.rb

package info (click to toggle)
ruby-json 2.6.3%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,028 kB
  • sloc: ansic: 4,527; ruby: 3,852; java: 3,183; sh: 37; makefile: 11
file content (14 lines) | stat: -rw-r--r-- 176 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
case ENV['JSON']
when 'pure'
  require 'json/pure'
when 'ext'
  require 'json/ext'
else
  require 'json'
end

require 'test/unit'
begin
  require 'byebug'
rescue LoadError
end