From a5e5892a785ac6f5ecbd3717187407a1e4219a92 Mon Sep 17 00:00:00 2001 From: andygeiss <4ndygeiss@gmail.com> Date: Tue, 2 Aug 2022 12:52:05 +0200 Subject: [PATCH] go version updated and assert moved --- LICENSE | 2 +- digital/digital_test.go | 5 +++-- go.mod | 4 ++-- random/random_test.go | 5 +++-- serial/serial_test.go | 5 +++-- wifi/wifi_test.go | 5 +++-- 6 files changed, 15 insertions(+), 11 deletions(-) diff --git a/LICENSE b/LICENSE index 81abd76..00c92ff 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright 2020 Andreas Geiß +Copyright 2022 Andreas Geiß Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/digital/digital_test.go b/digital/digital_test.go index e17a3b1..caa0b94 100644 --- a/digital/digital_test.go +++ b/digital/digital_test.go @@ -1,9 +1,10 @@ package digital_test import ( - "github.com/andygeiss/assert" - "github.com/andygeiss/esp32-controller/digital" "testing" + + "github.com/andygeiss/esp32-controller/digital" + "github.com/andygeiss/utils/assert" ) func TestDigitalWrite(t *testing.T) { diff --git a/go.mod b/go.mod index 1b95e10..d3975a8 100644 --- a/go.mod +++ b/go.mod @@ -1,5 +1,5 @@ module github.com/andygeiss/esp32-controller -go 1.14 +go 1.18 -require github.com/andygeiss/assert v0.0.9 +require github.com/andygeiss/utils v0.1.1 diff --git a/random/random_test.go b/random/random_test.go index 48954fd..75a1873 100644 --- a/random/random_test.go +++ b/random/random_test.go @@ -1,9 +1,10 @@ package random_test import ( - "github.com/andygeiss/assert" - "github.com/andygeiss/esp32-controller/random" "testing" + + "github.com/andygeiss/esp32-controller/random" + "github.com/andygeiss/utils/assert" ) func TestNum(t *testing.T) { diff --git a/serial/serial_test.go b/serial/serial_test.go index 5461efc..0bf890a 100644 --- a/serial/serial_test.go +++ b/serial/serial_test.go @@ -1,9 +1,10 @@ package serial_test import ( - "github.com/andygeiss/assert" - "github.com/andygeiss/esp32-controller/serial" "testing" + + "github.com/andygeiss/esp32-controller/serial" + "github.com/andygeiss/utils/assert" ) func TestSerialBegin(t *testing.T) { diff --git a/wifi/wifi_test.go b/wifi/wifi_test.go index 0919f87..f472f2a 100644 --- a/wifi/wifi_test.go +++ b/wifi/wifi_test.go @@ -1,9 +1,10 @@ package wifi_test import ( - "github.com/andygeiss/assert" - "github.com/andygeiss/esp32-controller/wifi" "testing" + + "github.com/andygeiss/esp32-controller/wifi" + "github.com/andygeiss/utils/assert" ) func TestWifiBegin(t *testing.T) {