Sha256: 58ba609550fcd05d0e0d9477ac20d389fb863657248c7dad1bdd7194a9e8e110
Contents?: true
Size: 443 Bytes
Versions: 22
Compression:
Stored size: 443 Bytes
Contents
require 'test/unit' require 'bitclust/methodsignature' class TestMethodSignature < Test::Unit::TestCase data("special var" => ["$_ -> String | nil", "--- $_ -> String | nil"], "backquote" => ["`command` -> String", "--- `(command) -> String"]) def test_friendlyname(data) friendly_string, method_signature = data assert_equal(friendly_string, BitClust::MethodSignature.parse(method_signature).friendly_string) end end
Version data entries
22 entries across 22 versions & 1 rubygems