summaryrefslogtreecommitdiff
path: root/xgb_test.go
diff options
context:
space:
mode:
authorAndrew Gallant (Ocelot) <[email protected]>2012-05-07 04:09:19 -0400
committerAndrew Gallant (Ocelot) <[email protected]>2012-05-07 04:09:19 -0400
commit8bcecd8ab592e67ade9cd728503581d5a84ca583 (patch)
tree4d550a9ca8b2b19af6d66b99233e0ecde4543df9 /xgb_test.go
parentbe6362d05c9563b8085eba2b990a145101e9c99f (diff)
lots of docs and examples
Diffstat (limited to 'xgb_test.go')
-rw-r--r--xgb_test.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/xgb_test.go b/xgb_test.go
index 9665164..b70ff5e 100644
--- a/xgb_test.go
+++ b/xgb_test.go
@@ -45,8 +45,8 @@ func init() {
// Tests
/******************************************************************************/
-// TestSynchronousError purposefully causes a BadLength error in an
-// InternAtom request, and checks it synchronously.
+// TestSynchronousError purposefully causes a BadWindow error in a
+// MapWindow request, and checks it synchronously.
func TestSynchronousError(t *testing.T) {
err := X.MapWindowChecked(0).Check() // resource id 0 is always invalid
if err == nil {
@@ -205,7 +205,7 @@ func TestWindowEvents(t *testing.T) {
// BenchmarkInternAtomsGood shows how many requests with replies
// *should* be sent and gathered from the server. Namely, send as many
// requests as you can at once, then go back and gather up all the replies.
-// More importantly, this approach can exploit parallelism better when
+// More importantly, this approach can exploit parallelism when
// GOMAXPROCS > 1.
// Run with `go test -run 'nomatch' -bench '.*' -cpu 1,2,6` if you have
// multiple cores to see the improvement that parallelism brings.