]> git.ipfire.org Git - thirdparty/qemu.git/commit
rust/vmstate_test: Fix typo in test_vmstate_macro_array_of_pointer_wrapped()
authorZhao Liu <zhao1.liu@intel.com>
Mon, 14 Apr 2025 14:49:38 +0000 (22:49 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 23 Apr 2025 08:35:23 +0000 (10:35 +0200)
commitd031d2fac9b94126ed0cd440da9e69e229d88aef
treeb007729884052b81c4f44c2d7c188bb566767bf8
parentad3ab01bb7380f8cc8cf86dd260ce751148d6d21
rust/vmstate_test: Fix typo in test_vmstate_macro_array_of_pointer_wrapped()

test_vmstate_macro_array_of_pointer_wrapped() tests the 3rd element, so
fix the index.

Signed-off-by: Zhao Liu <zhao1.liu@intel.com>
Link: https://lore.kernel.org/r/20250414144943.1112885-5-zhao1.liu@intel.com
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
rust/qemu-api/tests/vmstate_tests.rs