diff options
Diffstat (limited to 'src/handlers.rs')
-rw-r--r-- | src/handlers.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/handlers.rs b/src/handlers.rs index 64a076f11..405fe29da 100644 --- a/src/handlers.rs +++ b/src/handlers.rs @@ -10,6 +10,11 @@ fn string_from_ptr(ptr: *const c_char) -> String { String::from(cstr.to_str().unwrap()) } +#[test] +fn test_example() { + assert_eq!(2 + 2, 4); +} + #[no_mangle] pub extern "C" fn handle_code_fetch( module_specifier: *const c_char, |