Skip to content

Commit a3a4fc3

Browse files
committed
accept most clang-format mods to struct when run locally
1 parent a95e0cf commit a3a4fc3

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/viam/sdk/tests/test_mlmodel.cpp

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,7 @@ const struct MLModelService::metadata test_metadata {
9090

9191
// `label_type`
9292
MLModelService::tensor_info::file::k_label_type_tensor_value},
93-
{"path/to/file1.2",
94-
"i1f2",
95-
MLModelService::tensor_info::file::k_label_type_tensor_axis}},
93+
{"path/to/file1.2", "i1f2", MLModelService::tensor_info::file::k_label_type_tensor_axis}},
9694

9795
// `extra`
9896
ProtoStruct{{"foo", ProtoValue{"bar"}}}},
@@ -102,9 +100,7 @@ const struct MLModelService::metadata test_metadata {
102100
MLModelService::tensor_info::data_types::k_int32,
103101
{4096, 2160, 3, -1},
104102
{{"path/to/file2.1", "i2f1", MLModelService::tensor_info::file::k_label_type_tensor_axis},
105-
{"path/to/file2.2",
106-
"i2f2",
107-
MLModelService::tensor_info::file::k_label_type_tensor_value}},
103+
{"path/to/file2.2", "i2f2", MLModelService::tensor_info::file::k_label_type_tensor_value}},
108104
ProtoStruct{{"bar", ProtoValue{false}}}}},
109105

110106
// `outputs`

0 commit comments

Comments
 (0)