source: subversion/applications/utils/little-osm/test/t_tools.rb @ 29064

Last change on this file since 29064 was 1213, checked in by imi, 13 years ago

updated little-osm

File size: 293 bytes
Line 
1require '../tools'
2require 'test/unit'
3require 'test/unit/assertions'
4
5include OSM
6
7class ToolsTest < Test::Unit::TestCase
8
9  def test_ok
10    assert OK =~ /200\/OK/
11    assert OK =~ /content-type:/i
12  end
13
14  def test_header
15    assert HEADER =~ /UTF-8/
16    assert HEADER =~ /\<osm/
17  end
18
19end
Note: See TracBrowser for help on using the repository browser.