diff --git a/src/fish_tests.cpp b/src/fish_tests.cpp index 88040b80c..3972bea63 100644 --- a/src/fish_tests.cpp +++ b/src/fish_tests.cpp @@ -3321,8 +3321,8 @@ static void test_input() { { auto input_mapping = input_mappings(); - input_mapping->add(prefix_binding.c_str(), L"up-line"); - input_mapping->add(desired_binding.c_str(), L"down-line"); + input_mapping->add(prefix_binding, L"up-line"); + input_mapping->add(desired_binding, L"down-line"); } // Push the desired binding to the queue.