[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/phps-mode 4636d702ac 10/27: Improved tests for PHP 8.2
From: |
Christian Johansson |
Subject: |
[elpa] externals/phps-mode 4636d702ac 10/27: Improved tests for PHP 8.2 |
Date: |
Sat, 4 Mar 2023 03:24:56 -0500 (EST) |
branch: externals/phps-mode
commit 4636d702acf7dc0f57ea8f28338183e9ff5f9d5c
Author: Christian Johansson <christian@cvj.se>
Commit: Christian Johansson <christian@cvj.se>
Improved tests for PHP 8.2
---
test/phps-mode-test-parser.el | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/test/phps-mode-test-parser.el b/test/phps-mode-test-parser.el
index b2d4abdcb9..a2c1ddab3f 100644
--- a/test/phps-mode-test-parser.el
+++ b/test/phps-mode-test-parser.el
@@ -95,9 +95,10 @@
;; TODO Make PHP 8.2 tests below pass
+
(phps-mode-test-parser--buffer-contents
- "<?php\nclass Foo {\n public function bar((A&B)|null $entity) {\n
return $entity;\n }\n}\n"
- "PHP 8.2 - disjunctive normal form (DNF) types"
+ "<?php\nreadonly class BlogData\n{\n public string $title;\n\n public
Status $status;\n\n public function __construct(string $title, Status
$status)\n {\n $this->title = $title;\n $this->status =
$status;\n }\n}\n"
+ "PHP 8.2 - readonly classes"
(lambda()
(let ((parse (phps-mode-parser-parse)))
@@ -108,8 +109,8 @@
parse)))))
(phps-mode-test-parser--buffer-contents
- "<?php\nreadonly class BlogData\n{\n public string $title;\n\n public
Status $status;\n\n public function __construct(string $title, Status
$status)\n {\n $this->title = $title;\n $this->status =
$status;\n }\n}\n"
- "PHP 8.2 - readonly classes"
+ "<?php\nclass Foo {\n public function bar((A&B)|null $entity) {\n
return $entity;\n }\n}\n"
+ "PHP 8.2 - disjunctive normal form (DNF) types"
(lambda()
(let ((parse (phps-mode-parser-parse)))
- [elpa] externals/phps-mode 1ac3e40e4d 13/27: Removed deletion of byte-compiled file when generating parser, (continued)
- [elpa] externals/phps-mode 1ac3e40e4d 13/27: Removed deletion of byte-compiled file when generating parser, Christian Johansson, 2023/03/04
- [elpa] externals/phps-mode 3d1bb67d45 05/27: Removed memory limit on parser generation automation script, Christian Johansson, 2023/03/04
- [elpa] externals/phps-mode 5f820bd073 02/27: Improved documentation about grammar generation, Christian Johansson, 2023/03/04
- [elpa] externals/phps-mode 9fca589a4f 06/27: Updated parser to 8.2, Christian Johansson, 2023/03/04
- [elpa] externals/phps-mode ed8db6b5b7 08/27: Improved debug output, Christian Johansson, 2023/03/04
- [elpa] externals/phps-mode f4a26e193d 16/27: Updated and parser tests to 8.2, Christian Johansson, 2023/03/04
- [elpa] externals/phps-mode 9b6c89191b 12/27: Fixed typo, Christian Johansson, 2023/03/04
- [elpa] externals/phps-mode 9cade60362 17/27: More notes on automation, Christian Johansson, 2023/03/04
- [elpa] externals/phps-mode 2c39b1af73 20/27: Updated SDT to production 350, Christian Johansson, 2023/03/04
- [elpa] externals/phps-mode 37fd682568 07/27: Added failing unit tests for PHP 8.2, Christian Johansson, 2023/03/04
- [elpa] externals/phps-mode 4636d702ac 10/27: Improved tests for PHP 8.2,
Christian Johansson <=
- [elpa] externals/phps-mode 54fec9e358 15/27: Removed note about error occuring, Christian Johansson, 2023/03/04
- [elpa] externals/phps-mode 2a296e0947 11/27: Updated output in parser generator automation, Christian Johansson, 2023/03/04
- [elpa] externals/phps-mode ebe8fb9a36 14/27: Removed debug-on-signal in automation scripts, Christian Johansson, 2023/03/04
- [elpa] externals/phps-mode 45d3898837 19/27: More work on SDT, Christian Johansson, 2023/03/04
- [elpa] externals/phps-mode 27770f9abb 22/27: Parser SDT to production 500, Christian Johansson, 2023/03/04
- [elpa] externals/phps-mode 4765f2c9ae 23/27: Made all parser SDT for 8.2, Christian Johansson, 2023/03/04
- [elpa] externals/phps-mode 81a9f22780 24/27: Decreased length of parser docstrings, Christian Johansson, 2023/03/04
- [elpa] externals/phps-mode fddb792453 26/27: Updated date and version for 0.4.42, Christian Johansson, 2023/03/04
- [elpa] externals/phps-mode d5a710cd12 21/27: Parser SDT to 400, Christian Johansson, 2023/03/04
- [elpa] externals/phps-mode f24b790593 25/27: Resolved merge conflicts, Christian Johansson, 2023/03/04