Skip to content

Commit 48d8494

Browse files
committed
Update test names
1 parent bdc225e commit 48d8494

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

libwasmvm/src/cache.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1047,8 +1047,8 @@ mod tests {
10471047
}
10481048

10491049
#[test]
1050-
fn test_config_msgpack() {
1051-
// see companion test "TestConfigMsgPack" on the Go side
1050+
fn test_config_json() {
1051+
// see companion test "TestConfigJSON" on the Go side
10521052
const JSON: &str = r#"{"wasm_limits":{"initial_memory_limit":15,"table_size_limit":20,"max_imports":100,"max_function_params":0},"cache":{"base_dir":"/tmp","available_capabilities":["a","b"],"memory_cache_size":100,"instance_memory_limit":100}}"#;
10531053

10541054
let config: Config = serde_json::from_str(JSON).unwrap();

types/config_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ func Ptr[T any](v T) *T {
1313
return &v
1414
}
1515

16-
func TestConfigMsgPack(t *testing.T) {
17-
// see companion test "test_config_msgpack" on the Rust side
16+
func TestConfigJSON(t *testing.T) {
17+
// see companion test "test_config_json" on the Rust side
1818
config := VMConfig{
1919
WasmLimits: WasmLimits{
2020
InitialMemoryLimit: Ptr(uint32(15)),

0 commit comments

Comments
 (0)