| // Copyright (c) 2020, the Dart project authors. Please see the AUTHORS file |
| // for details. All rights reserved. Use of this source code is governed by a |
| // BSD-style license that can be found in the LICENSE file. |
| |
| import 'dart:convert'; |
| |
| import 'package:test/test.dart'; |
| |
| import '../gerrit_change.dart'; |
| import 'gerrit_review_json.dart'; |
| |
| void main() async { |
| test("get revert information from Gerrit log api output", () { |
| expect(GerritInfo.revert(json.decode(revertReviewGerritLog)), |
| "7ed1690b4ed6b56bc818173dff41a7a2530991a2"); |
| }); |
| } |