artichoke_backend/extn/core/encoding/
mod.rs1pub(in crate::extn) mod mruby;
15
16struct Encoding {}
17
18#[cfg(test)]
19mod tests {
20 use crate::test::prelude::*;
21
22 const SUBJECT: &str = "Encoding";
23 const FUNCTIONAL_TEST: &[u8] = include_bytes!("encoding_test.rb");
24
25 #[test]
26 fn functional() {
27 let mut interp = interpreter();
28 let result = interp.eval(FUNCTIONAL_TEST);
29 unwrap_or_panic_with_backtrace(&mut interp, SUBJECT, result);
30 let result = interp.eval(b"spec");
31 unwrap_or_panic_with_backtrace(&mut interp, SUBJECT, result);
32 }
33}