Sha256: 9c4118de586e1033784ec5a74ce7cf933119cf07b46a61bb5716a23a7293cad3

Contents?: true

Size: 280 Bytes

Versions: 57

Compression:

Stored size: 280 Bytes

Contents

# (c) Copyright IBM Corp. 2021
# (c) Copyright Instana Inc. 2021

require 'test_helper'

class UtilTest < Minitest::Test
  def test_get_rb_source_error
    assert_equal({ error: "Only Ruby source files are allowed. (*.rb)" }, Instana::Util.get_rb_source('invalid.txt'))
  end
end

Version data entries

57 entries across 57 versions & 1 rubygems

Version Path
instana-1.202.0 test/util_test.rb
instana-1.201.0 test/util_test.rb
instana-1.201.0.pre1 test/util_test.rb
instana-1.200.0 test/util_test.rb
instana-1.200.0.pre1 test/util_test.rb
instana-1.199.6 test/util_test.rb
instana-1.199.5 test/util_test.rb
instana-1.199.4 test/util_test.rb
instana-1.199.3 test/util_test.rb
instana-1.199.2 test/util_test.rb
instana-1.199.1 test/util_test.rb
instana-1.199.0 test/util_test.rb
instana-1.198.0 test/util_test.rb
instana-1.198.0.pre1 test/util_test.rb
instana-1.197.0 test/util_test.rb
instana-1.197.0.pre2 test/util_test.rb
instana-1.197.0.pre1 test/util_test.rb