@@ -24,12 +24,13 @@ func (suite *SubcommandTestSuite) TestSearchCmd() {
2424 m := SearchCmd {}.GetModelCustom (
2525 baseModel {getDriverRegistry : getTestDriverRegistry ,
2626 downloadPkg : downloadTestPkg })
27- suite .validateOutput ("\r " , "• test-driver-1 - This is a test driver\n " +
28- "• test-driver-2 - This is another test driver\n " +
29- "• test-driver-manifest-only - This is manifest-only driver\n " +
30- "• test-driver-no-sig - Driver manifest missing Files.signature entry\n " +
31- "• test-driver-invalid-manifest - This is test driver with an invalid manifest. See https://github.com/columnar-tech/dbc/issues/37.\n " +
32- "• test-driver-docs-url - This is manifest-only with its docs_url key set\n " , suite .runCmd (m ))
27+ suite .validateOutput ("\r " ,
28+ "test-driver-1 This is a test driver \n " +
29+ "test-driver-2 This is another test driver \n " +
30+ "test-driver-manifest-only This is manifest-only driver \n " +
31+ "test-driver-no-sig Driver manifest missing Files.signature entry \n " +
32+ "test-driver-invalid-manifest This is test driver with an invalid manifest. See https://github.com/columnar-tech/dbc/issues/37. \n " +
33+ "test-driver-docs-url This is manifest-only with its docs_url key set \n " , suite .runCmd (m ))
3334}
3435
3536func (suite * SubcommandTestSuite ) TestSearchCmdWithInstalled () {
@@ -40,12 +41,13 @@ func (suite *SubcommandTestSuite) TestSearchCmdWithInstalled() {
4041 m = SearchCmd {}.GetModelCustom (
4142 baseModel {getDriverRegistry : getTestDriverRegistry ,
4243 downloadPkg : downloadTestPkg })
43- suite .validateOutput ("\r " , "• test-driver-1 - This is a test driver [installed: env=>1.1.0]\n " +
44- "• test-driver-2 - This is another test driver\n " +
45- "• test-driver-manifest-only - This is manifest-only driver\n " +
46- "• test-driver-no-sig - Driver manifest missing Files.signature entry\n " +
47- "• test-driver-invalid-manifest - This is test driver with an invalid manifest. See https://github.com/columnar-tech/dbc/issues/37.\n " +
48- "• test-driver-docs-url - This is manifest-only with its docs_url key set\n " , suite .runCmd (m ))
44+ suite .validateOutput ("\r " ,
45+ "test-driver-1 This is a test driver [installed: env=>1.1.0]\n " +
46+ "test-driver-2 This is another test driver \n " +
47+ "test-driver-manifest-only This is manifest-only driver \n " +
48+ "test-driver-no-sig Driver manifest missing Files.signature entry \n " +
49+ "test-driver-invalid-manifest This is test driver with an invalid manifest. See https://github.com/columnar-tech/dbc/issues/37. \n " +
50+ "test-driver-docs-url This is manifest-only with its docs_url key set \n " , suite .runCmd (m ))
4951}
5052
5153func (suite * SubcommandTestSuite ) TestSearchCmdVerbose () {
0 commit comments