Commit 004eb22
committed
test(unit): replace magic number with named constant in TestEdgeTypeInfo
Introduce PROPERTY_TYPE_TIMESTAMP = 6 as a class-level constant to
replace the inline magic number that SonarCloud flagged as commented-out
code.1 parent f69e7b7 commit 004eb22
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
| 130 | + | |
| 131 | + | |
130 | 132 | | |
131 | 133 | | |
132 | 134 | | |
133 | 135 | | |
134 | 136 | | |
135 | 137 | | |
136 | 138 | | |
137 | | - | |
| 139 | + | |
138 | 140 | | |
139 | 141 | | |
140 | 142 | | |
| |||
0 commit comments