mojo/public/tools/mojom/version_compatibility_unittest.py
def testStructFieldOrderChange(self):
    """Changing the order of fields breaks backward-compatibility."""
    self.assertNotBackwardCompatible('struct S { string a; bool b; };',
                                     'struct S { bool b; string a; };')
    self.assertNotBackwardCompatible('struct S { string a@0; bool b@1; };',
                                     'struct S { string a@1; bool b@0; };')
Changing the order of fields breaks backward-compatibility.
Changing the order of fields breaks backward-compatibility.
Changing the order of fields breaks backward - compatibility .
def testStructFieldOrderChange(self):
    self.assertNotBackwardCompatible('struct S { string a; bool b; };',
                                     'struct S { bool b; string a; };')
    self.assertNotBackwardCompatible('struct S { string a@0; bool b@1; };',
                                     'struct S { string a@1; bool b@0; };')
def testStructFieldOrderChange ( self ) : self . assertNotBackwardCompatible ( 'struct S { string a; bool b; };' , 'struct S { bool b; string a; };' ) self . assertNotBackwardCompatible ( 'struct S { string a@0; bool b@1; };' , 'struct S { string a@1; bool b@0; };' )
Changing the order of fields breaks backward-compatibility.
Changing the order of fields breaks backward - compatibility .
"""Changing the order of fields breaks backward-compatibility."""
self