test: remove failure demonstration
This commit is contained in:
@@ -26,7 +26,7 @@ jobs:
|
||||
- name: Check go version
|
||||
run: |
|
||||
go version
|
||||
- name: Unit Tests
|
||||
- name: Tests
|
||||
run: |
|
||||
cd ${{ gitea.workspace }}
|
||||
go test -cover ./...
|
||||
|
||||
@@ -13,7 +13,4 @@ func TestHelloHandler(t *testing.T) {
|
||||
if w.Body.String() != expected {
|
||||
t.Errorf("Expected %q but got %q", expected, w.Body.String())
|
||||
}
|
||||
|
||||
// Force a failure for demonstration
|
||||
t.Errorf("Forced failure for demonstration purposes")
|
||||
}
|
||||
Reference in New Issue
Block a user