Skip to content

Commit

Permalink
refactor test
Browse files Browse the repository at this point in the history
  • Loading branch information
ashitaprasad committed Dec 24, 2024
1 parent 23130cd commit 97fde58
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import 'package:apidash/importer/curl/curl.dart';
import 'package:test/test.dart';
import 'package:apidash_core/apidash_core.dart';

Expand All @@ -15,7 +14,7 @@ void main() {
final result = curlImport.getHttpRequestModel(curl);

expect(
result,
result?[0],
const HttpRequestModel(
method: HTTPVerb.get,
url: 'https://api.apidash.dev/users',
Expand All @@ -37,7 +36,7 @@ void main() {
final result = curlImport.getHttpRequestModel(curl);

expect(
result,
result?[0],
const HttpRequestModel(
method: HTTPVerb.post,
url: 'https://api.apidash.dev/users',
Expand All @@ -63,7 +62,7 @@ void main() {
final result = curlImport.getHttpRequestModel(curl);

expect(
result,
result?[0],
const HttpRequestModel(
method: HTTPVerb.post,
url: 'https://api.apidash.dev/upload',
Expand Down

0 comments on commit 97fde58

Please sign in to comment.