We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 50a3a32 commit 6f10624Copy full SHA for 6f10624
fakeapp_test.go
@@ -1,6 +1,7 @@
1
package revel
2
3
import (
4
+ "io/ioutil"
5
"log"
6
"os"
7
"path/filepath"
@@ -60,7 +61,7 @@ func startFakeBookingApp() {
60
61
Init("prod", "github.com/revel/revel/testdata", "")
62
63
// Disable logging.
- TRACE = log.New(os.Stderr, "", 0)
64
+ TRACE = log.New(ioutil.Discard, "", 0)
65
INFO = TRACE
66
WARN = TRACE
67
ERROR = TRACE
@@ -80,7 +81,7 @@ func startFakeBookingApp() {
80
81
Args: []*MethodArg{
82
{"id", reflect.TypeOf((*int)(nil))},
83
},
- RenderArgNames: map[int][]string{29: {"title", "hotel"}},
84
+ RenderArgNames: map[int][]string{30: {"title", "hotel"}},
85
86
{
87
Name: "Book",
0 commit comments