Skip to content

Commit 24941e8

Browse files
committed
[mlir][tblgen] Fix test definition names to reflect expected valid results (NFC)
1 parent a574831 commit 24941e8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

mlir/test/mlir-tblgen/op-format-spec.td

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ def DirectiveRegionsValid : TestFormat_Op<[{
9595
//===----------------------------------------------------------------------===//
9696

9797
// CHECK-NOT: error:
98-
def DirectiveResultsInvalidA : TestFormat_Op<[{
98+
def DirectiveResultsValid : TestFormat_Op<[{
9999
type(results) attr-dict
100100
}]>;
101101

@@ -104,7 +104,7 @@ def DirectiveResultsInvalidA : TestFormat_Op<[{
104104
//===----------------------------------------------------------------------===//
105105

106106
// CHECK-NOT: error:
107-
def DirectiveSuccessorsInvalidA : TestFormat_Op<[{
107+
def DirectiveSuccessorsValid : TestFormat_Op<[{
108108
successors attr-dict
109109
}]>;
110110

@@ -167,7 +167,7 @@ def OptionalValidA : TestFormat_Op<[{
167167
//===----------------------------------------------------------------------===//
168168

169169
// CHECK-NOT: error
170-
def StringInvalidA : TestFormat_Op<[{ custom<Foo>("foo") attr-dict }]>;
170+
def StringValid : TestFormat_Op<[{ custom<Foo>("foo") attr-dict }]>;
171171

172172
//===----------------------------------------------------------------------===//
173173
// Variables

0 commit comments

Comments
 (0)