Skip to content

Commit

Permalink
chore: add unit testcases for files in Text format. (#2274)
Browse files Browse the repository at this point in the history
* chore: add unit testcases for files in Text format.

Signed-off-by: Electronic-Waste <[email protected]>

* chore: adjust file layout using gofmt.

Signed-off-by: Electronic-Waste <[email protected]>

* chore: combine test for JSON and TEXT file format.

Signed-off-by: Electronic-Waste <[email protected]>

* fix: rename file-gen functions.

Signed-off-by: Electronic-Waste <[email protected]>

* refactor: update cmd.Diff params and log outputs.

Signed-off-by: Electronic-Waste <[email protected]>

* chore: add more valid and invalid testcases for TEXT format.

Signed-off-by: Electronic-Waste <[email protected]>

* chore: convert testcase name to const.

Signed-off-by: Electronic-Waste <[email protected]>

* chore: compact dir generation & deletion operations into funcs.

Signed-off-by: Electronic-Waste <[email protected]>

* fix: delete constants used only once.

Signed-off-by: Electronic-Waste <[email protected]>

* fix: fix ci error in errorcheck.

Signed-off-by: Electronic-Waste <[email protected]>

---------

Signed-off-by: Electronic-Waste <[email protected]>
  • Loading branch information
Electronic-Waste committed Mar 12, 2024
1 parent 679e6fb commit 5837b8a
Showing 1 changed file with 268 additions and 54 deletions.
Loading

0 comments on commit 5837b8a

Please sign in to comment.