MCPcopy Create free account
hub / github.com/JagritGumber/evolvsql / replace_function

Function replace_function

native/engine/src/executor/tests/string_func.rs:39–43  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

37#[test]
38#[serial_test::serial]
39fn replace_function() {
40 setup();
41 let r = execute("SELECT REPLACE('hello world', 'world', 'rust')").unwrap();
42 assert_eq!(r.rows[0][0], Some("hello rust".into()));
43}
44
45#[test]
46#[serial_test::serial]

Callers

nothing calls this directly

Calls 2

executeFunction · 0.85
setupFunction · 0.70

Tested by

no test coverage detected