mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Update to ruby/spec@c1b568b
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
8a15857a7f
commit
401b64c4e8
3689 changed files with 6095 additions and 6096 deletions
|
@ -1,8 +1,8 @@
|
|||
# -*- encoding: ascii-8bit -*-
|
||||
require File.expand_path('../../../../spec_helper', __FILE__)
|
||||
require File.expand_path('../../fixtures/classes', __FILE__)
|
||||
require File.expand_path('../shared/basic', __FILE__)
|
||||
require File.expand_path('../shared/string', __FILE__)
|
||||
require_relative '../../../spec_helper'
|
||||
require_relative '../fixtures/classes'
|
||||
require_relative 'shared/basic'
|
||||
require_relative 'shared/string'
|
||||
|
||||
describe "String#unpack with format 'A'" do
|
||||
it_behaves_like :string_unpack_basic, 'A'
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# -*- encoding: ascii-8bit -*-
|
||||
require File.expand_path('../../../../spec_helper', __FILE__)
|
||||
require File.expand_path('../../fixtures/classes', __FILE__)
|
||||
require File.expand_path('../shared/basic', __FILE__)
|
||||
require_relative '../../../spec_helper'
|
||||
require_relative '../fixtures/classes'
|
||||
require_relative 'shared/basic'
|
||||
|
||||
describe "String#unpack with format '@'" do
|
||||
it_behaves_like :string_unpack_basic, '@'
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# -*- encoding: ascii-8bit -*-
|
||||
require File.expand_path('../../../../spec_helper', __FILE__)
|
||||
require File.expand_path('../../fixtures/classes', __FILE__)
|
||||
require File.expand_path('../shared/basic', __FILE__)
|
||||
require_relative '../../../spec_helper'
|
||||
require_relative '../fixtures/classes'
|
||||
require_relative 'shared/basic'
|
||||
|
||||
describe "String#unpack with format 'B'" do
|
||||
it_behaves_like :string_unpack_basic, 'B'
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# -*- encoding: ascii-8bit -*-
|
||||
require File.expand_path('../../../../spec_helper', __FILE__)
|
||||
require File.expand_path('../../fixtures/classes', __FILE__)
|
||||
require File.expand_path('../shared/basic', __FILE__)
|
||||
require_relative '../../../spec_helper'
|
||||
require_relative '../fixtures/classes'
|
||||
require_relative 'shared/basic'
|
||||
|
||||
describe :string_unpack_8bit, shared: true do
|
||||
it "decodes one byte for a single format character" do
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# -*- encoding: ascii-8bit -*-
|
||||
require File.expand_path('../../../../spec_helper', __FILE__)
|
||||
require File.expand_path('../../fixtures/classes', __FILE__)
|
||||
require_relative '../../../spec_helper'
|
||||
require_relative '../fixtures/classes'
|
||||
|
||||
describe "String#unpack" do
|
||||
it "ignores directives text from '#' to the first newline" do
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
require File.expand_path('../../../../spec_helper', __FILE__)
|
||||
require File.expand_path('../../fixtures/classes', __FILE__)
|
||||
require File.expand_path('../shared/basic', __FILE__)
|
||||
require File.expand_path('../shared/float', __FILE__)
|
||||
require_relative '../../../spec_helper'
|
||||
require_relative '../fixtures/classes'
|
||||
require_relative 'shared/basic'
|
||||
require_relative 'shared/float'
|
||||
|
||||
little_endian do
|
||||
describe "String#unpack with format 'D'" do
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
require File.expand_path('../../../../spec_helper', __FILE__)
|
||||
require File.expand_path('../../fixtures/classes', __FILE__)
|
||||
require File.expand_path('../shared/basic', __FILE__)
|
||||
require File.expand_path('../shared/float', __FILE__)
|
||||
require_relative '../../../spec_helper'
|
||||
require_relative '../fixtures/classes'
|
||||
require_relative 'shared/basic'
|
||||
require_relative 'shared/float'
|
||||
|
||||
describe "String#unpack with format 'E'" do
|
||||
it_behaves_like :string_unpack_basic, 'E'
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
require File.expand_path('../../../../spec_helper', __FILE__)
|
||||
require File.expand_path('../../fixtures/classes', __FILE__)
|
||||
require File.expand_path('../shared/basic', __FILE__)
|
||||
require File.expand_path('../shared/float', __FILE__)
|
||||
require_relative '../../../spec_helper'
|
||||
require_relative '../fixtures/classes'
|
||||
require_relative 'shared/basic'
|
||||
require_relative 'shared/float'
|
||||
|
||||
little_endian do
|
||||
describe "String#unpack with format 'F'" do
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
require File.expand_path('../../../../spec_helper', __FILE__)
|
||||
require File.expand_path('../../fixtures/classes', __FILE__)
|
||||
require File.expand_path('../shared/basic', __FILE__)
|
||||
require File.expand_path('../shared/float', __FILE__)
|
||||
require_relative '../../../spec_helper'
|
||||
require_relative '../fixtures/classes'
|
||||
require_relative 'shared/basic'
|
||||
require_relative 'shared/float'
|
||||
|
||||
describe "String#unpack with format 'G'" do
|
||||
it_behaves_like :string_unpack_basic, 'G'
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# -*- encoding: ascii-8bit -*-
|
||||
require File.expand_path('../../../../spec_helper', __FILE__)
|
||||
require File.expand_path('../../fixtures/classes', __FILE__)
|
||||
require File.expand_path('../shared/basic', __FILE__)
|
||||
require_relative '../../../spec_helper'
|
||||
require_relative '../fixtures/classes'
|
||||
require_relative 'shared/basic'
|
||||
|
||||
describe "String#unpack with format 'H'" do
|
||||
it_behaves_like :string_unpack_basic, 'H'
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
require File.expand_path('../../../../spec_helper', __FILE__)
|
||||
require File.expand_path('../../fixtures/classes', __FILE__)
|
||||
require File.expand_path('../shared/basic', __FILE__)
|
||||
require File.expand_path('../shared/integer', __FILE__)
|
||||
require_relative '../../../spec_helper'
|
||||
require_relative '../fixtures/classes'
|
||||
require_relative 'shared/basic'
|
||||
require_relative 'shared/integer'
|
||||
|
||||
describe "String#unpack with format 'I'" do
|
||||
describe "with modifier '<'" do
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
require File.expand_path('../../../../spec_helper', __FILE__)
|
||||
require File.expand_path('../../fixtures/classes', __FILE__)
|
||||
require File.expand_path('../shared/basic', __FILE__)
|
||||
require File.expand_path('../shared/integer', __FILE__)
|
||||
require_relative '../../../spec_helper'
|
||||
require_relative '../fixtures/classes'
|
||||
require_relative 'shared/basic'
|
||||
require_relative 'shared/integer'
|
||||
|
||||
ruby_version_is '2.3' do
|
||||
platform_is pointer_size: 64 do
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
require File.expand_path('../../../../spec_helper', __FILE__)
|
||||
require File.expand_path('../../fixtures/classes', __FILE__)
|
||||
require File.expand_path('../shared/basic', __FILE__)
|
||||
require File.expand_path('../shared/integer', __FILE__)
|
||||
require_relative '../../../spec_helper'
|
||||
require_relative '../fixtures/classes'
|
||||
require_relative 'shared/basic'
|
||||
require_relative 'shared/integer'
|
||||
|
||||
describe "String#unpack with format 'L'" do
|
||||
describe "with modifier '<'" do
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# -*- encoding: ascii-8bit -*-
|
||||
require File.expand_path('../../../../spec_helper', __FILE__)
|
||||
require File.expand_path('../../fixtures/classes', __FILE__)
|
||||
require File.expand_path('../shared/basic', __FILE__)
|
||||
require_relative '../../../spec_helper'
|
||||
require_relative '../fixtures/classes'
|
||||
require_relative 'shared/basic'
|
||||
|
||||
describe "String#unpack with format 'M'" do
|
||||
it_behaves_like :string_unpack_basic, 'M'
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
require File.expand_path('../../../../spec_helper', __FILE__)
|
||||
require File.expand_path('../../fixtures/classes', __FILE__)
|
||||
require File.expand_path('../shared/basic', __FILE__)
|
||||
require File.expand_path('../shared/integer', __FILE__)
|
||||
require_relative '../../../spec_helper'
|
||||
require_relative '../fixtures/classes'
|
||||
require_relative 'shared/basic'
|
||||
require_relative 'shared/integer'
|
||||
|
||||
describe "String#unpack with format 'N'" do
|
||||
it_behaves_like :string_unpack_basic, 'N'
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
require File.expand_path('../../../../spec_helper', __FILE__)
|
||||
require File.expand_path('../../fixtures/classes', __FILE__)
|
||||
require File.expand_path('../shared/basic', __FILE__)
|
||||
require_relative '../../../spec_helper'
|
||||
require_relative '../fixtures/classes'
|
||||
require_relative 'shared/basic'
|
||||
|
||||
describe "String#unpack with format 'P'" do
|
||||
it_behaves_like :string_unpack_basic, 'P'
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require File.expand_path('../../../../spec_helper', __FILE__)
|
||||
require_relative '../../../spec_helper'
|
||||
|
||||
describe "String#unpack with format '%'" do
|
||||
it "raises an Argument Error" do
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
require File.expand_path('../../../../spec_helper', __FILE__)
|
||||
require File.expand_path('../../fixtures/classes', __FILE__)
|
||||
require File.expand_path('../shared/basic', __FILE__)
|
||||
require File.expand_path('../shared/integer', __FILE__)
|
||||
require_relative '../../../spec_helper'
|
||||
require_relative '../fixtures/classes'
|
||||
require_relative 'shared/basic'
|
||||
require_relative 'shared/integer'
|
||||
|
||||
describe "String#unpack with format 'Q'" do
|
||||
describe "with modifier '<'" do
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
require File.expand_path('../../../../spec_helper', __FILE__)
|
||||
require File.expand_path('../../fixtures/classes', __FILE__)
|
||||
require File.expand_path('../shared/basic', __FILE__)
|
||||
require File.expand_path('../shared/integer', __FILE__)
|
||||
require_relative '../../../spec_helper'
|
||||
require_relative '../fixtures/classes'
|
||||
require_relative 'shared/basic'
|
||||
require_relative 'shared/integer'
|
||||
|
||||
describe "String#unpack with format 'S'" do
|
||||
describe "with modifier '<'" do
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
# -*- encoding: ascii-8bit -*-
|
||||
require File.expand_path('../../../../spec_helper', __FILE__)
|
||||
require File.expand_path('../../fixtures/classes', __FILE__)
|
||||
require File.expand_path('../shared/basic', __FILE__)
|
||||
require File.expand_path('../shared/unicode', __FILE__)
|
||||
require_relative '../../../spec_helper'
|
||||
require_relative '../fixtures/classes'
|
||||
require_relative 'shared/basic'
|
||||
require_relative 'shared/unicode'
|
||||
|
||||
describe "String#unpack with format 'U'" do
|
||||
it_behaves_like :string_unpack_basic, 'U'
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
require File.expand_path('../../../../spec_helper', __FILE__)
|
||||
require File.expand_path('../../fixtures/classes', __FILE__)
|
||||
require File.expand_path('../shared/basic', __FILE__)
|
||||
require File.expand_path('../shared/integer', __FILE__)
|
||||
require_relative '../../../spec_helper'
|
||||
require_relative '../fixtures/classes'
|
||||
require_relative 'shared/basic'
|
||||
require_relative 'shared/integer'
|
||||
|
||||
describe "String#unpack with format 'V'" do
|
||||
it_behaves_like :string_unpack_basic, 'V'
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# -*- encoding: ascii-8bit -*-
|
||||
require File.expand_path('../../../../spec_helper', __FILE__)
|
||||
require File.expand_path('../../fixtures/classes', __FILE__)
|
||||
require File.expand_path('../shared/basic', __FILE__)
|
||||
require_relative '../../../spec_helper'
|
||||
require_relative '../fixtures/classes'
|
||||
require_relative 'shared/basic'
|
||||
|
||||
describe "String#unpack with directive 'w'" do
|
||||
it_behaves_like :string_unpack_basic, 'w'
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# -*- encoding: ascii-8bit -*-
|
||||
require File.expand_path('../../../../spec_helper', __FILE__)
|
||||
require File.expand_path('../../fixtures/classes', __FILE__)
|
||||
require File.expand_path('../shared/basic', __FILE__)
|
||||
require_relative '../../../spec_helper'
|
||||
require_relative '../fixtures/classes'
|
||||
require_relative 'shared/basic'
|
||||
|
||||
describe "String#unpack with format 'X'" do
|
||||
it_behaves_like :string_unpack_basic, 'X'
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
# -*- encoding: ascii-8bit -*-
|
||||
require File.expand_path('../../../../spec_helper', __FILE__)
|
||||
require File.expand_path('../../fixtures/classes', __FILE__)
|
||||
require File.expand_path('../shared/basic', __FILE__)
|
||||
require File.expand_path('../shared/string', __FILE__)
|
||||
require_relative '../../../spec_helper'
|
||||
require_relative '../fixtures/classes'
|
||||
require_relative 'shared/basic'
|
||||
require_relative 'shared/string'
|
||||
|
||||
describe "String#unpack with format 'Z'" do
|
||||
it_behaves_like :string_unpack_basic, 'Z'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue