From ec0a768cf7d26f7ed4b50ac447db7f1ddbd93030 Mon Sep 17 00:00:00 2001 From: Klemens David Morgenstern Date: Thu, 14 Feb 2019 10:47:28 +0800 Subject: [PATCH 1/2] broke testes --- .report-ci.json | 2 +- src/arithmetic/arithmetic.go | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.report-ci.json b/.report-ci.json index fb99721..c88a82b 100644 --- a/.report-ci.json +++ b/.report-ci.json @@ -1,5 +1,5 @@ { - ".settings": { + ".report-ci": { "debug": true }, "src/arithmetic/arithmetic_test.go:8-12": "src/arithmetic/arithmetic.go:2-5", diff --git a/src/arithmetic/arithmetic.go b/src/arithmetic/arithmetic.go index cd74b90..bd6dd86 100644 --- a/src/arithmetic/arithmetic.go +++ b/src/arithmetic/arithmetic.go @@ -1,7 +1,7 @@ package arithmetic func add(x int, y int) int { - return x + y + return x - y } func sub(x int, y int) int { @@ -9,9 +9,9 @@ func sub(x int, y int) int { } func multiply(x int, y int) int { - return x * y + return x / y } func divide(x int, y int) int { - return x / y + return x * y } \ No newline at end of file From 5d30a87adc720d44d88c1aba161654b3c9695b89 Mon Sep 17 00:00:00 2001 From: Klemens David Morgenstern Date: Thu, 14 Feb 2019 10:49:29 +0800 Subject: [PATCH 2/2] broke yml --- .report-ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.report-ci.yml b/.report-ci.yml index 3e3b958..ef10da3 100644 --- a/.report-ci.yml +++ b/.report-ci.yml @@ -1,4 +1,5 @@ src/arithmetic/arithmetic_test.go:8-12: src/arithmetic/arithmetic.go:2-5 +/ som e: in valid : syntax / src/arithmetic/arithmetic_test.go: 16-19: src/arithmetic/arithmetic.go:7-9 22-27: src/arithmetic/arithmetic.go:12