Sha256: c77f088075b7cd1bdd0541b0384cc23f29d941bf4928b61bb2ab72fe156cb390
Contents?: true
Size: 473 Bytes
Versions: 4
Compression:
Stored size: 473 Bytes
Contents
#[test] fn it_converts_ranges() { let ruby = unsafe { magnus::embed::init() }; magnus::rb_assert!(ruby, "range == (2...7)", range = 2..7); magnus::rb_assert!(ruby, "range == (2..7)", range = 2..=7); magnus::rb_assert!(ruby, "range == (2..)", range = 2..); magnus::rb_assert!(ruby, "range == (...7)", range = ..7); magnus::rb_assert!(ruby, "range == (..7)", range = ..=7); magnus::rb_assert!(ruby, "range == Range.new(nil, nil)", range = ..); }
Version data entries
4 entries across 4 versions & 1 rubygems