blob: 5eeb98c217756e52e6380d8e77b013b68a5b6837 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
require File.expand_path('../../../spec_helper', __FILE__)
require File.expand_path('../../kernel/shared/sprintf', __FILE__)
require File.expand_path('../../kernel/shared/sprintf_encoding', __FILE__)
describe "String#%" do
it_behaves_like :kernel_sprintf, -> (format, *args) {
format % args
}
it_behaves_like :kernel_sprintf_encoding, -> (format, *args) {
format % args
}
end
|