Sha256: c2eccb535e5af3ce4e40c2a60ae36b5fdd712424f7834cd7c0ac6de9a6329049

Contents?: true

Size: 179 Bytes

Versions: 19

Compression:

Stored size: 179 Bytes

Contents

#[test]
fn it_converts_tuple_to_array() {
    let ruby = unsafe { magnus::embed::init() };

    magnus::rb_assert!(ruby, "val == [1, 2.3, nil, [4]]", val = (1, 2.3, (), (4,)));
}

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
wasmtime-29.0.0 ./ext/cargo-vendor/magnus-0.7.1/tests/tuple_to_array.rs
wasmtime-28.0.0 ./ext/cargo-vendor/magnus-0.7.1/tests/tuple_to_array.rs
wasmtime-27.0.0 ./ext/cargo-vendor/magnus-0.7.1/tests/tuple_to_array.rs
wasmtime-26.0.0 ./ext/cargo-vendor/magnus-0.7.1/tests/tuple_to_array.rs
wasmtime-25.0.2 ./ext/cargo-vendor/magnus-0.6.4/tests/tuple_to_array.rs
wasmtime-25.0.1 ./ext/cargo-vendor/magnus-0.6.4/tests/tuple_to_array.rs
wasmtime-25.0.0 ./ext/cargo-vendor/magnus-0.6.4/tests/tuple_to_array.rs
wasmtime-24.0.0 ./ext/cargo-vendor/magnus-0.6.4/tests/tuple_to_array.rs
wasmtime-23.0.2 ./ext/cargo-vendor/magnus-0.6.4/tests/tuple_to_array.rs
wasmtime-22.0.0 ./ext/cargo-vendor/magnus-0.6.4/tests/tuple_to_array.rs
wasmtime-21.0.1 ./ext/cargo-vendor/magnus-0.6.4/tests/tuple_to_array.rs
wasmtime-20.0.2 ./ext/cargo-vendor/magnus-0.6.4/tests/tuple_to_array.rs
wasmtime-20.0.0 ./ext/cargo-vendor/magnus-0.6.4/tests/tuple_to_array.rs
wasmtime-18.0.3 ./ext/cargo-vendor/magnus-0.6.2/tests/tuple_to_array.rs
wasmtime-17.0.1 ./ext/cargo-vendor/magnus-0.6.2/tests/tuple_to_array.rs
wasmtime-17.0.0 ./ext/cargo-vendor/magnus-0.6.2/tests/tuple_to_array.rs
wasmtime-16.0.0 ./ext/cargo-vendor/magnus-0.6.2/tests/tuple_to_array.rs
wasmtime-15.0.1 ./ext/cargo-vendor/magnus-0.6.2/tests/tuple_to_array.rs
wasmtime-15.0.0 ./ext/cargo-vendor/magnus-0.6.2/tests/tuple_to_array.rs