Sha256: cd439bb1b8abb34c10dc39a844ec7354614f50340dba78f88e2563d442559efa

Contents?: true

Size: 283 Bytes

Versions: 1

Compression:

Stored size: 283 Bytes

Contents

require 'test_helper'

class SelektTest < Minitest::Test

  def test_safe_identifier
    assert_equal 'test', Selekt.safe_identifier('test')
    assert_equal %q["test'"], Selekt.safe_identifier(%q[test'])
    assert_equal %q["""test"""], Selekt.safe_identifier(%q["test"])
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
selekt-0.0.1 test/sql_toolkit_test.rb