From 710f6e9f984119b813a273d81891874f0b4f6c3b Mon Sep 17 00:00:00 2001
From: Trang Mai <40815729+trangmaiq@users.noreply.github.com>
Date: Tue, 30 Aug 2022 15:03:20 +0700
Subject: [PATCH] test: mark `TestToolsContainer` as failed if error occurs
 (#84)

* test: mark TestToolsContainer as failed if error occurs

* add trangmaiq

Co-authored-by: Trang Mai <tqmai@axon.com>
---
 README.md          | 1 +
 test/tools_test.go | 5 ++++-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/README.md b/README.md
index acce983e..7cc61b1e 100644
--- a/README.md
+++ b/README.md
@@ -263,6 +263,7 @@ Big shout-out to them!
 - ![](https://github.com/eventi.png?size=24) [@eventi](https://github.com/eventi)
 - ![](https://github.com/Bourne-ID.png?size=24) [@Bourne-ID](https://github.com/Bourne-ID)
 - ![](https://github.com/akwan.png?size=24) [@akwan](https://github.com/akwan)
+- ![](https://github.com/trangmaiq.png?size=24) [@trangmaiq](https://github.com/trangmaiq)
 
 If you feel you're missing from this list, feel free to add yourself in a PR.
 
diff --git a/test/tools_test.go b/test/tools_test.go
index 30135dcb..60926df9 100644
--- a/test/tools_test.go
+++ b/test/tools_test.go
@@ -10,7 +10,10 @@ import (
 
 func TestToolsContainer(t *testing.T) {
 	image := "nixos/nix"
-	projectRoot, _ := filepath.Abs("../")
+	projectRoot, err := filepath.Abs("../")
+	if err != nil {
+		t.FailNow()
+	}
 
 	options := &docker.RunOptions{
 		Remove: true,