Skip to content

Update bussproof tests, and remove -- from package script#1270

Closed
dpvc wants to merge 1 commit intodevelopfrom
fix/bussproof-tests
Closed

Update bussproof tests, and remove -- from package script#1270
dpvc wants to merge 1 commit intodevelopfrom
fix/bussproof-tests

Conversation

@dpvc
Copy link
Copy Markdown
Member

@dpvc dpvc commented Jun 3, 2025

This fixes two buss proof tests that are out of date (not sure which change caused this). It also removes the -- in the package.json test script, which no longer seems to be needed (and now causes problems when used with --collectCoverageFrom for example.

@dpvc dpvc requested a review from zorkow June 3, 2025 20:06
@dpvc dpvc added this to the v4.0 milestone Jun 3, 2025
Copy link
Copy Markdown
Member

@zorkow zorkow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think there is an superfluous backslash. Please have a look.

For the record: PR might lead to conflicts with #1271.

toXmlMatch(
tex2mml(
'\\begin{prooftree}\\AXC{}\\RL{$Hyp^{1}$}\\UIC{$P$}\\AXC{$P\\rightarrow Q$}\\RL{$\\rightarrow_E$}\\solidLine\\BIC{$Q^2$}\\AXC{$Q\\rightarrow R$} \\RL{$\\rightarrow_E$} \\BIC{$R$} \\AXC{$Q$}\\RL{Rit$^2$} \\UIC{$Q$}\\RL{$\\wedge_I$}\\BIC{$Q\\wedge R$}\\RL{${\\rightarrow_I}^1$}\\UIC{$P\\rightarrow Q\\wedge R$}\\end{prooftree}'
'\\begin{prooftree}\\AXC{}\\RL{$Hyp^{1}$}\\UIC{$P$}\\AXC{$P\\rightarrow Q$}\\RL{$\\rightarrow_E$}\\solidLine\\BIC{$Q^2$}\\AXC{$Q\\rightarrow R$} \\RL{$\\rightarrow_E$} \\BIC{$R$} \\AXC{$Q$}\\RL{Rit$^2$} \\UIC{$Q$}\\RL{$\\wedge_I$}\\BIC{$Q\\wedge R$}\\RL{\${\\rightarrow_I}^1$}\\UIC{$P\\rightarrow Q\\wedge R$}\\end{prooftree}'
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the backslash intentional?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, I was adjusting the ${ to \${ inside the `...` string and must have gotten this one as well by accident.

@dpvc
Copy link
Copy Markdown
Member Author

dpvc commented Jun 5, 2025

I think this PR can be close, as your new one handles both issues addressed here.

@dpvc dpvc closed this Jun 5, 2025
@dpvc dpvc deleted the fix/bussproof-tests branch June 5, 2025 23:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants