common: move bt_component_class_type_string here, use it more
[babeltrace.git] / tests / cli / query / test_query
index 3227650b122b037d9bbb10445e4ef18559e7218d..21a3546758b4521722e843ff8ea015d77cc383be 100755 (executable)
@@ -79,7 +79,7 @@ expect_failure "ValueError: catastrophic failure" \
        'src.query.SourceWithQueryThatPrintsParams' 'please-fail' '-p' 'a=2'
 
 # Non-existent component class.
-expect_failure 'Cannot find component class: plugin-name="query", comp-cls-name="NonExistentSource", comp-cls-type=1' \
+expect_failure 'Cannot find component class: plugin-name="query", comp-cls-name="NonExistentSource", comp-cls-type=SOURCE' \
        'src.query.NonExistentSource' 'the-object' '-p' 'a=2'
 
 # Wrong parameter syntax.
This page took 0.022773 seconds and 4 git commands to generate.