Skip to content

Commit

Permalink
tweak MockInfo doc comment
Browse files Browse the repository at this point in the history
  • Loading branch information
pedronis committed Sep 21, 2016
1 parent 071c57c commit da0c2c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snap/snaptest/snaptest.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ func MockSnap(c *check.C, yamlText string, sideInfo *snap.SideInfo) *snap.Info {
return snapInfo
}

// MockInfo parses snap.yaml and returns a validated snap.Info object.
// MockInfo parses the give snap.yaml text and returns a validated snap.Info object with included the option sideInfo.
//
// The result is just kept in memory, there is nothing kept on disk. If that is
// desired please use MockSnap instead.
Expand Down

0 comments on commit da0c2c1

Please sign in to comment.