# frozen_string_literal: true require "test_helper" class TestPicopackage < Minitest::Test def test_that_it_has_a_version_number refute_nil ::Picopackage::VERSION end def test_it_can_load_a_picopackage_file sf = Picopackage::SourceFile.from_content(File.read("test/files/uniquify_array.rb")) assert_equal sf.metadata["filename"], "uniquify_array.rb" end end