From 8292e58bc1594979ebd11544467d6bd6a8606584 Mon Sep 17 00:00:00 2001 From: "Quek, Yao Jing" Date: Thu, 14 Dec 2023 22:50:55 +0800 Subject: [PATCH] Check for vscode readme version --- test/config_test.dart | 9 +++++++++ vs_code/README.md | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/test/config_test.dart b/test/config_test.dart index 28cd2e7d8..bfb3ce9eb 100644 --- a/test/config_test.dart +++ b/test/config_test.dart @@ -72,4 +72,13 @@ void main() async { deleteTemporaryDump(dumpName); }); } + + test('should update the vscode readme version', () async { + const version = Config.version; + + final file = File('vs_code/README.md'); + final contents = await file.readAsString(); + + expect(contents.contains(version), true); + }); } diff --git a/vs_code/README.md b/vs_code/README.md index 5b65ba1fb..80279eff1 100644 --- a/vs_code/README.md +++ b/vs_code/README.md @@ -8,7 +8,7 @@ ROHD (pronounced as "road") is a framework for describing and verifying hardware ## Features -Currently, this extension follows the conventions in ROHD [v0.5.0](https://github.com/intel/rohd/releases/tag/v0.5.0). It suggests auto-completions when you start typing the prefixes as shown in the table below: +Currently, this extension follows the conventions in ROHD [v0.5.1](https://github.com/intel/rohd/releases/tag/v0.5.1). It suggests auto-completions when you start typing the prefixes as shown in the table below: | Name | Prefix | Description | | :---: | :---: | :--: |