mirror of
https://github.com/foss42/apidash.git
synced 2025-05-28 12:18:06 +08:00
Revert "fixed curl code gen error for empty url"
This reverts commit 7e1ca33a28921789f0720542e63b2c520e553fcf.
This commit is contained in:
@ -1,7 +1,6 @@
|
||||
import 'package:apidash/codegen/others/curl.dart';
|
||||
import 'package:test/test.dart';
|
||||
|
||||
import '../request_models.dart';
|
||||
import 'package:test/test.dart';
|
||||
|
||||
void main() {
|
||||
final curlCodeGen = cURLCodeGen();
|
||||
@ -20,7 +19,7 @@ void main() {
|
||||
|
||||
test('GET 3', () {
|
||||
const expectedCode =
|
||||
r"""curl --url 'https://api.foss42.com/country/data?code=US&code=IND'""";
|
||||
r"""curl --url 'https://api.foss42.com/country/data?code=IND'""";
|
||||
expect(curlCodeGen.getCode(requestModelGet3, "https"), expectedCode);
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user