anchor.diff:            ]));
       });
   
  +    test('enum sidebar contains default constructors', () async {
  +      expect(
  +          enumWithDefaultConstructorLines,
  +          containsAllInOrder([
  +            matches('<div id="dartdoc-sidebar-right"'),
  +            matches(
  +                '<a href="../lib/EnumWithDefaultConstructor.html#constructors">Constructors</a>'),
  +            matches(
  +                '<a href="../lib/EnumWithDefaultConstructor/EnumWithDefaultConstructor.html">EnumWithDefaultConstructor</a>'),
  +          ]));
  +    });
  +
  +    test('enum sidebar contains explicit constructors', () async {
  +      expect(
  +          eLines,
  +          containsAllInOrder([
  +            matches('<div id="dartdoc-sidebar-right"'),
  +            matches('<a href="../lib/E.html#constructors">Constructors</a>'),
  +            matches('<a href="../lib/E/E.named.html">named</a>'),
  +          ]));
  +    });
  +
       test("enum page contains the 'values' constant", () async {
         expect(
             eLines,
  
positive.code:             matches('<li>one</li>'),
              // TODO(srawlins): Move this to static properties.
              matches('<a href="../lib/E/values-constant.html">values</a>'),
            ]),
            reason: eLines.join('\n'));
      });
  
      test('enum sidebar contains properties', () async {
  
negative.code:             matches('<h2>Values</h2>'),
              matches('<span class="name ">one</span>'),
              matches('<p>Doc comment for <a href="../lib/E.html">one</a>.</p>'),
              matches(
                  r'<span class="signature"><code>E&lt;int&gt;.named\(1\)</code></span>'),
            ]));
      });
  
  