better test for go-server (#8852)

This commit is contained in:
William Cheng
2021-02-27 18:21:28 +08:00
committed by GitHub
parent 3cf93226fa
commit 2c0991dabe

View File

@@ -27,30 +27,16 @@
<version>1.2.1</version>
<executions>
<execution>
<id>gofmt-test</id>
<id>go-test</id>
<phase>integration-test</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<executable>gofmt</executable>
<executable>go</executable>
<arguments>
<argument>-w</argument>
<argument>./main.go</argument>
</arguments>
</configuration>
</execution>
<execution>
<id>gofmt-file-test</id>
<phase>integration-test</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<executable>gofmt</executable>
<arguments>
<argument>-w</argument>
<argument>./go/</argument>
<argument>test</argument>
<argument>-v</argument>
</arguments>
</configuration>
</execution>