File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -152,7 +152,7 @@ func (m *MyMockedObject) DoSomething(number int) (bool, error) {
152
152
153
153
// TestSomething is an example of how to use our test object to
154
154
// make assertions about some target code we are testing.
155
- func TestDoSomething (t *testing .T ) {
155
+ func TestSomething (t *testing .T ) {
156
156
157
157
// create an instance of our test object
158
158
testObj := new (MyMockedObject)
@@ -169,12 +169,12 @@ func TestDoSomething(t *testing.T) {
169
169
170
170
}
171
171
172
- // TestSomethingElse is a second example of how to use our test object to
172
+ // TestSomethingWithPlaceholder is a second example of how to use our test object to
173
173
// make assertions about some target code we are testing.
174
174
// This time using a placeholder. Placeholders might be used when the
175
175
// data being passed in is normally dynamically generated and cannot be
176
176
// predicted beforehand (eg. containing hashes that are time sensitive)
177
- func TestDoSomethingWithPlaceholder (t *testing .T ) {
177
+ func TestSomethingWithPlaceholder (t *testing .T ) {
178
178
179
179
// create an instance of our test object
180
180
testObj := new (MyMockedObject)
You can’t perform that action at this time.
0 commit comments