aboutsummaryrefslogtreecommitdiff
path: root/nexgb/xgb_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'nexgb/xgb_test.go')
-rw-r--r--nexgb/xgb_test.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/nexgb/xgb_test.go b/nexgb/xgb_test.go
index 9665164..b70ff5e 100644
--- a/nexgb/xgb_test.go
+++ b/nexgb/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.