Replies: 1 comment 1 reply
-
It happens that tests are duplicated. Might be testing different things, and changed over years or automigration issue. Definitely not a bug though. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Repro steps
Provide the steps required to reproduce the problem:
gh repo clone dotnet/fsharp
cd fsharp
for a in 1 2; do diff -u tests/FSharp.Compiler.ComponentTests/Conformance/PatternMatching/Expression/whenGuards0$a.fs tests/FSharp.Compiler.ComponentTests/Conformance/PatternMatching/Expression/whenGuardss0$a.fs; done|wc -l
Expected behavior
Some output which signifies why
whenGuardss
files exist -- they appear to be identical towhenGuards
files.Actual behavior
0
Known workarounds
Delete the
whenGuardss
files (whenGuardss01.fs
andwhenGuardss02.fs
) and references to them.This is a
whenGuards
reference:fsharp/tests/FSharp.Compiler.ComponentTests/Conformance/PatternMatching/Expression/Expression.fs
Lines 98 to 105 in be6352d
This is a
whenGuardss
reference:fsharp/tests/FSharp.Compiler.ComponentTests/Conformance/PatternMatching/Expression/Expression.fs
Lines 116 to 123 in be6352d
Related information
The files appear to be part of the original commit in this repository, so there isn't any history to explain the reasons they exist
https://github.com/dotnet/fsharp/commits/fb01e0a4858b3f0b24ee115664b4b3255485f268/tests/fsharpqa/Source/Conformance/PatternMatching/Expression/whenGuardss01.fs?browsing_rename_history=true&new_path=tests/FSharp.Compiler.ComponentTests/Conformance/PatternMatching/Expression/whenGuardss01.fs&original_branch=main
Beta Was this translation helpful? Give feedback.
All reactions