Debian Codegraph @

helpers/nocolor/nocolor_test.go

raw symbols SCIP
1 // Copyright (c) 2021, Maxime Soulé
2 // All rights reserved.
3 //
4 // This source code is licensed under the BSD-style license found in the
5 // LICENSE file in the root directory of this source tree.
6
7 package nocolor_testscip-go gomod github.com/maxatome/go-testdeep . `github.com/maxatome/go-testdeep/helpers/nocolor_test`/
8
9 import (
10 "osscip-go gomod github.com/golang/go/src go1.18 os/"
11 "testingscip-go gomod github.com/golang/go/src go1.18 testing/"
12
13 _ "github.com/maxatome/go-testdeep/helpers/nocolorscip-go gomod github.com/maxatome/go-testdeep . `github.com/maxatome/go-testdeep/helpers/nocolor`/"
14 )
15
16 func TestNocolorscip-go gomod github.com/maxatome/go-testdeep . `github.com/maxatome/go-testdeep/helpers/nocolor_test`/TestNocolor().(t *testingscip-go gomod github.com/golang/go/src go1.18 testing/.Tscip-go gomod github.com/golang/go/src go1.18 testing/T#) {
17 tdColor := osscip-go gomod github.com/golang/go/src go1.18 os/.Getenvscip-go gomod github.com/golang/go/src go1.18 os/Getenv().("TESTDEEP_COLOR")
18 if tdColor != "off" {
19 t.Errorfscip-go gomod github.com/golang/go/src go1.18 testing/common#Errorf().(`TESTDEEP_COLOR expected to be "off" but is %q`, tdColor)
20 }
21 }