v1.0.4 webapi fixes
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
import 'dart:convert';
|
||||
import 'dart:io';
|
||||
import 'package:flutter_test/flutter_test.dart';
|
||||
import 'package:workouttest_util/model/cache.dart';
|
||||
import 'package:workouttest_util/service/api.dart';
|
||||
|
||||
@@ -14,6 +14,6 @@ void main() {
|
||||
var api = OpenAIApi();
|
||||
String response = await api.getOpenAICompletion("Who wrote the song 'yellow submarine'?");
|
||||
print(response);
|
||||
expect(response, matches(RegExp(r'Beatles')));
|
||||
expect(response, matches(RegExp(r'Beatles') ));
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user