Sha256: 7667b9294a4195eb2efcaa9db68d9e43d1500b803757a8a2e6c3f0f638c0b328
Contents?: true
Size: 292 Bytes
Versions: 19
Compression:
Stored size: 292 Bytes
Contents
use magnus::RString; #[test] fn it_stops_on_err() { let _cleanup = unsafe { magnus::embed::init() }; let s = RString::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