Sha256: c735a315ad73f113aa6e2c113a7319b60e47dea3f569d0fab6a92affa493698b
Contents?: true
Size: 373 Bytes
Versions: 12
Compression:
Stored size: 373 Bytes
Contents
#!/usr/bin/env ruby # frozen_string_literal: true $LOAD_PATH << __dir__ @oj_dir = File.dirname(File.expand_path(__dir__)) %w(lib ext).each do |dir| $LOAD_PATH << File.join(@oj_dir, dir) end require 'minitest' require 'minitest/autorun' require 'oj' class Generator < Minitest::Test def test_before json = Oj.generate({}) assert_equal('{}', json) end end
Version data entries
12 entries across 12 versions & 1 rubygems