Sha256: a99b1a4316f96af62c49a5793a2f1ce9ca4ef4364cd88f99e5c26453cd54f7da
Contents?: true
Size: 467 Bytes
Versions: 29
Compression:
Stored size: 467 Bytes
Contents
require 'bitclust/rrdparser' require 'test/unit' class TestRRDParser < Test::Unit::TestCase def test_title result = BitClust::RRDParser.split_doc <<HERE = hoge a HERE assert_equal(["hoge", "a\n"], result) result = BitClust::RRDParser.split_doc <<HERE ==foo a =hoge HERE assert_equal(["hoge", ""], result) result = BitClust::RRDParser.split_doc <<HERE ==[a:hoge]hoge a HERE assert_equal(["", "==[a:hoge]hoge\na\n"], result) end end
Version data entries
29 entries across 25 versions & 1 rubygems