[fidl][rights] Use symbolic rights in test code

Follow up to
https://fuchsia-review.googlesource.com/c/third_party/go/+/512820 to use
symbolic rights in test.

Bug: 43948
Change-Id: I5c28581a86eefa1c85d299fa4df3233ccfc44481
Reviewed-on: https://fuchsia-review.googlesource.com/c/third_party/go/+/513300
Commit-Queue: Scott Graham <scottmg@google.com>
Reviewed-by: Tamir Duberstein <tamird@google.com>
diff --git a/src/syscall/zx/fidl/fidl_test/encoding_fuchsia_test.go b/src/syscall/zx/fidl/fidl_test/encoding_fuchsia_test.go
index efdf196..b5a265f 100644
--- a/src/syscall/zx/fidl/fidl_test/encoding_fuchsia_test.go
+++ b/src/syscall/zx/fidl/fidl_test/encoding_fuchsia_test.go
@@ -439,10 +439,10 @@
 	if handleDispositions[0].Handle != *input.H[0].Handle() {
 		t.Fatalf("expected handle to match: want %d, got %d", input.H, handleDispositions[0].Handle)
 	}
-	if want := zx.Rights(3); handleDispositions[0].Rights != want {
+	if want := zx.RightDuplicate | zx.RightTransfer; handleDispositions[0].Rights != want {
 		t.Fatalf("incorrect rights: want %d, got %d", want, handleDispositions[0].Rights)
 	}
-	if want := zx.ObjectType(3); handleDispositions[0].Type != want {
+	if want := zx.ObjectTypeVmo; handleDispositions[0].Type != want {
 		t.Fatalf("incorrect subtype: want %d, got %d", want, handleDispositions[0].Type)
 	}