Use approval testing framework for statement printer test

It's better to store the expected text in a separate file instead of mixed
in together with the kotlin test code. This is for several reasons
- it is easier to read when the expected value is on several lines
- it is easier to update using a diff merge tool
- it is easier to read the VCS history since it will probably change
more frequently than the rest of the test code
This commit is contained in:
Emily Bache
2019-09-10 10:40:56 +02:00
parent 6d81ebd095
commit 2e599e4f1d
4 changed files with 13 additions and 10 deletions

View File

@@ -1,5 +1,6 @@
#Tue Sep 10 10:36:28 CEST 2019
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.3-all.zip
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.3-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME