Sha256: 47a5ecd6444c20fc1e6f1d1970a38a1165ed35bbe90ceca0a91e925e6c885c7f
Contents?: true
Size: 266 Bytes
Versions: 19
Compression:
Stored size: 266 Bytes
Contents
#[test] fn it_stops_on_err() { let ruby = unsafe { magnus::embed::init() }; let s = ruby.str_new("foo"); s.cat([128]); // invalid s.cat("bar"); let count = unsafe { s.codepoints().count() }; // f, o, o, Err = 4 assert_eq!(count, 4); }
Version data entries
19 entries across 19 versions & 1 rubygems