root/lang/ruby/chokan/branches/citrus/spec/utils_spec.rb
@
6397
| Revision 6397, 328 bytes (checked in by cho45, 5 years ago) | |
|---|---|
|
|
| Line | |
|---|---|
| 1 | #!/usr/bin/env ruby |
| 2 | require File.dirname(__FILE__) + '/spec_helper.rb' |
| 3 | |
| 4 | include Citrus |
| 5 | include Net::IRC |
| 6 | include Constants |
| 7 | |
| 8 | describe String do |
| 9 | it "should define utility method for encoding" do |
| 10 | "".to_u8.should == "" |
| 11 | "".to_u16.should == "" |
| 12 | "".to_euc.should == "" |
| 13 | "".to_jis.should == "" |
| 14 | "".to_sjis.should == "" |
| 15 | end |
| 16 | end |
| 17 |
Note: See TracBrowser
for help on using the browser.
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)