mojo/public/tools/mojom/version_compatibility_unittest.py
def testNewExtensibleEnumValueWithMinVersion(self):
    """Adding a new and properly [MinVersion]'d value to an [Extensible] enum
    is a backward-compatible change. Note that it is irrelevant whether or not
    the new enum is marked [Extensible]."""
    self.assertBackwardCompatible('[Extensible] enum E { kA, kB };',
                                  'enum E { kA, kB, [MinVersion=1] kC };')
    self.assertBackwardCompatible(
        '[Extensible] enum E { kA, kB };',
        '[Extensible] enum E { kA, kB, [MinVersion=1] kC };')
    self.assertBackwardCompatible(
        '[Extensible] enum E { kA, [MinVersion=1] kB };',
        '[Extensible] enum E { kA, [MinVersion=1] kB, [MinVersion=2] kC };')
Adding a new and properly [MinVersion]'d value to an [Extensible] enum
    is a backward-compatible change. Note that it is irrelevant whether or not
    the new enum is marked [Extensible].
Adding a new and properly [MinVersion]'d value to an [Extensible] enum
is a backward-compatible change. Note that it is irrelevant whether or not
the new enum is marked [Extensible].
Adding a new and properly [ MinVersion ] ' d value to an [ Extensible ] enum is a backward - compatible change . Note that it is irrelevant whether or not the new enum is marked [ Extensible ] .
def testNewExtensibleEnumValueWithMinVersion(self):
    self.assertBackwardCompatible('[Extensible] enum E { kA, kB };',
                                  'enum E { kA, kB, [MinVersion=1] kC };')
    self.assertBackwardCompatible(
        '[Extensible] enum E { kA, kB };',
        '[Extensible] enum E { kA, kB, [MinVersion=1] kC };')
    self.assertBackwardCompatible(
        '[Extensible] enum E { kA, [MinVersion=1] kB };',
        '[Extensible] enum E { kA, [MinVersion=1] kB, [MinVersion=2] kC };')
def testNewExtensibleEnumValueWithMinVersion ( self ) : self . assertBackwardCompatible ( '[Extensible] enum E { kA, kB };' , 'enum E { kA, kB, [MinVersion=1] kC };' ) self . assertBackwardCompatible ( '[Extensible] enum E { kA, kB };' , '[Extensible] enum E { kA, kB, [MinVersion=1] kC };' ) self . assertBackwardCompatible ( '[Extensible] enum E { kA, [MinVersion=1] kB };' , '[Extensible] enum E { kA, [MinVersion=1] kB, [MinVersion=2] kC };' )
Adding a new and properly [MinVersion]'d value to an [Extensible] enum
is a backward-compatible change.
Adding a new and properly [ MinVersion ] ' d value to an [ Extensible ] enum is a backward - compatible change .
"""Adding a new and properly [MinVersion]'d value to an [Extensible] enum
    is a backward-compatible change. Note that it is irrelevant whether or not
    the new enum is marked [Extensible]."""
self