Skip to content

Commit 66461fc

Browse files
author
andrey
committed
Added a new generation type vt. Now partially updated in the file when specifying an entity, tests have been written
1 parent 9111c09 commit 66461fc

File tree

13 files changed

+2063
-6
lines changed

13 files changed

+2063
-6
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,4 +95,5 @@ Temporary Items
9595
*.out
9696

9797
generators/testdata/actual/
98+
generators/testdata/updated/
9899

generators/testdata/consts.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,14 @@ const (
2121
var (
2222
PathActual = filepath.Join(DirParent, DirTestdata, "actual")
2323
PathExpected = filepath.Join(DirParent, DirTestdata, "expected")
24+
PathUpdated = filepath.Join(DirParent, DirTestdata, "updated")
2425

2526
PathActualMFD = filepath.Join(PathActual, FilenameMFD)
2627
PathExpectedMFD = filepath.Join(PathExpected, FilenameMFD)
2728
PathActualDB = filepath.Join(PathActual, PackageDB)
2829
PathExpectedDB = filepath.Join(PathExpected, PackageDB)
2930
PathActualVT = filepath.Join(PathActual, PackageVT)
31+
PathUpdatedVT = filepath.Join(PathUpdated, PackageVT)
3032
PathExpectedVT = filepath.Join(PathExpected, PackageVT)
3133
PathActualVTTemplateAll = filepath.Join(PathActual, PackageVTTemplate, PrefixAll)
3234
PathExpectedVTTemplateAll = filepath.Join(PathExpected, PackageVTTemplate, PrefixAll)

0 commit comments

Comments
 (0)