Skip to content

Commit d92f8e4

Browse files
committed
Fix tests
1 parent 059236f commit d92f8e4

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

src/Tests/OneExplorer/OneStorage.test.ts

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -321,8 +321,8 @@ input_path=${modelName}
321321
const model = testBuilder.getPath('model.tflite', 'workspace');
322322
const config = testBuilder.getPath('model.cfg', 'workspace');
323323
const content = `
324-
[one-import-onnx]
325-
input_path='model.tflite'
324+
[one-import-tflite]
325+
input_path='model.tflite'
326326
`;
327327

328328
testBuilder.writeFileSync('model.cfg', content, 'workspace');
@@ -346,8 +346,8 @@ input_path=${modelName}
346346
const model = testBuilder.getPath('model.tflite', 'workspace');
347347
const config = testBuilder.getPath('model.cfg', 'workspace');
348348
const content = `
349-
[one-import-onnx]
350-
input_path='model.tflite'
349+
[one-import-tflite]
350+
input_path='model.tflite'
351351
`;
352352

353353
testBuilder.writeFileSync('model.cfg', content, 'workspace');
@@ -390,8 +390,8 @@ input_path=${modelName}
390390
const config = testBuilder.getPath('model.cfg', 'workspace');
391391

392392
const content = `
393-
[one-import-onnx]
394-
input_path='model.tflite'
393+
[one-import-tflite]
394+
input_path='model.tflite'
395395
`;
396396

397397
testBuilder.writeFileSync('model.cfg', content, 'workspace');
@@ -421,8 +421,8 @@ input_path=${modelName}
421421

422422
test('model and config names', function() {
423423
const content = `
424-
[one-import-onnx]
425-
input_path='model.tflite'
424+
[one-import-tflite]
425+
input_path='model.tflite'
426426
`;
427427

428428
const oldModel = testBuilder.getPath('model.tflite', 'workspace');
@@ -443,7 +443,7 @@ input_path=${modelName}
443443

444444
const newModel = testBuilder.getPath('model.new.tflite', 'workspace');
445445
const newContent = `
446-
[one-import-onnx]
446+
[one-import-tflite]
447447
input_path='model.new.tflite'
448448
`;
449449

@@ -461,8 +461,8 @@ input_path=${modelName}
461461

462462
test('NEG: not existing path', function() {
463463
const content = `
464-
[one-import-onnx]
465-
input_path='model.tflite'
464+
[one-import-tflite]
465+
input_path='model.tflite'
466466
`;
467467

468468
const model = testBuilder.getPath('model.tflite', 'workspace');

0 commit comments

Comments
 (0)