Skip to content

Commit ec2602c

Browse files
committed
Fix comment
1 parent eaae16e commit ec2602c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

codegen/src/test/java/software/amazon/awssdk/codegen/poet/client/ServiceVersionInfoSpecTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@
3030

3131
public class ServiceVersionInfoSpecTest {
3232

33-
// a fixture test that dynamically updates the generated fixture with the current version
34-
// this is needed because every time codegen runs, the version will change.
35-
// we need a way to generate the fixture, and then edit it in place with the current version and only then make the assertion.
33+
// Fixture test that compares generated ServiceVersionInfo class against expected output.
34+
// The fixture file uses {{VERSION}} as a placeholder which gets replaced with the current
35+
// SDK version at test time, since the generated code injects the actual version at build time.
3636
@Test
3737
void testServiceVersionInfoClass() {
3838
String currVersion = VersionInfo.SDK_VERSION;

0 commit comments

Comments
 (0)