Sha256: 620bd39a7fd3fc051182dcda2e12bbaa772bfb2a9202c2dfdf3d81c88a2984ac
Contents?: true
Size: 273 Bytes
Versions: 19
Compression:
Stored size: 273 Bytes
Contents
use magnus::Value; #[test] fn it_formats_with_to_s() { let ruby = unsafe { magnus::embed::init() }; let val = ruby .eval::<Value>(r#"["foo".upcase, "bar".to_sym, 1 + 2]"#) .unwrap(); assert_eq!(r#"["FOO", :bar, 3]"#, format!("{:?}", val)); }
Version data entries
19 entries across 19 versions & 1 rubygems