Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion tests/FSharp.Compiler.ComponentTests/AttributeUsage.fs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All Rights Reserved. See License.txt in the project root for license information.

namespace FSharp.Compiler.ComponentTests.Conformance.Conformance.DeclarationElements.CustomAttributes.AttributeUsage
namespace Conformance.Conformance.DeclarationElements.CustomAttributes.AttributeUsage

open Xunit
open FSharp.Test
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All Rights Reserved. See License.txt in the project root for license information.

namespace FSharp.Compiler.ComponentTests.CompilerOptions
namespace CompilerOptions.Fsc

open FSharp.Test
open FSharp.Test.Compiler
Expand All @@ -10,15 +10,15 @@ module Checked =

// SOURCE=unchecked01.fs # fsc-default
[<Theory; Directory(__SOURCE_DIRECTORY__, Includes=[|"unchecked01.fs"|])>]
let ``fsc-unchecked - unchecked01.fs`` compilation =
let ``fsc-unchecked - unchecked01_fs`` compilation =
compilation
|> asFs
|> compile
|> shouldSucceed

// SOURCE=checked01.fs SCFLAGS="--checked" # fsc-checked
[<Theory; Directory(__SOURCE_DIRECTORY__, Includes=[|"unchecked01.fs"|])>]
let ``fsc-unchecked - unchecked01.fs --checked`` compilation =
let ``fsc-unchecked - unchecked01_fs --checked`` compilation =
compilation
|> asFs
|> withOptions["--checked"]
Expand All @@ -27,7 +27,7 @@ module Checked =

// SOURCE=checked01.fs SCFLAGS="--checked+" # fsc-checked+
[<Theory; Directory(__SOURCE_DIRECTORY__, Includes=[|"unchecked01.fs"|])>]
let ``fsc-unchecked - unchecked01.fs --checked+`` compilation =
let ``fsc-unchecked - unchecked01_fs --checked+`` compilation =
compilation
|> asFs
|> withOptions["--checked+"]
Expand All @@ -36,7 +36,7 @@ module Checked =

// SOURCE=unchecked01.fs SCFLAGS="--checked-" # fsc-checked-
[<Theory; Directory(__SOURCE_DIRECTORY__, Includes=[|"unchecked01.fs"|])>]
let ``fsc-unchecked - unchecked01.fs --checked-`` compilation =
let ``fsc-unchecked - unchecked01_fs --checked-`` compilation =
compilation
|> asFs
|> withOptions["--checked-"]
Expand All @@ -45,7 +45,7 @@ module Checked =

// SOURCE=unchecked01.fs SCFLAGS="--checked-" # fsc-checked-
[<Theory; Directory(__SOURCE_DIRECTORY__, Includes=[|"unchecked01.fs"|])>]
let ``fsi-unchecked - unchecked01.fs --checked-`` compilation =
let ``fsi-unchecked - unchecked01_fs --checked-`` compilation =
compilation
|> asFsx
|> withOptions["--checked-"]
Expand All @@ -54,7 +54,7 @@ module Checked =

// SOURCE=checked01.fs SCFLAGS="--checked" FSIMODE=EXEC COMPILE_ONLY=1 # fsi-checked
[<Theory; Directory(__SOURCE_DIRECTORY__, Includes=[|"checked01.fs"|])>]
let ``fsi-checked - checked01.fs --checked`` compilation =
let ``fsi-checked - checked01_fs --checked`` compilation =
compilation
|> asFsx
|> withOptions["--checked"]
Expand All @@ -63,7 +63,7 @@ module Checked =

// SOURCE=checked01.fs SCFLAGS="--checked+" FSIMODE=EXEC COMPILE_ONLY=1 # fsi-checked+
[<Theory; Directory(__SOURCE_DIRECTORY__, Includes=[|"checked01.fs"|])>]
let ``fsi-checked - checked01.fs --checked+`` compilation =
let ``fsi-checked - checked01_fs --checked+`` compilation =
compilation
|> asFsx
|> withOptions["--checked+"]
Expand All @@ -72,7 +72,7 @@ module Checked =

// SOURCE=checked01.fs SCFLAGS="--checked-" FSIMODE=EXEC COMPILE_ONLY=1 # fsi-checked+
[<Theory; Directory(__SOURCE_DIRECTORY__, Includes=[|"checked01.fs"|])>]
let ``fsi-checked - checked01.fs --checked-`` compilation =
let ``fsi-checked - checked01_fs --checked-`` compilation =
compilation
|> asFsx
|> withOptions["--checked-"]
Expand All @@ -84,7 +84,7 @@ module Checked =

// SOURCE=checked01.fs SCFLAGS="--checked --checked+" # fsc-checkedchecked+
[<Theory; Directory(__SOURCE_DIRECTORY__, Includes=[|"checked01.fs"|])>]
let ``fsc-checked - checked01.fs --checked --checked+`` compilation =
let ``fsc-checked - checked01_fs --checked --checked+`` compilation =
compilation
|> asFs
|> withOptions["--checked"; "--checked+"]
Expand All @@ -93,7 +93,7 @@ module Checked =

// SOURCE=checked01.fs SCFLAGS="--checked- --checked+" # fsc-checked-checked+
[<Theory; Directory(__SOURCE_DIRECTORY__, Includes=[|"checked01.fs"|])>]
let ``fsc-checked - checked01.fs --checked- --checked+`` compilation =
let ``fsc-checked - checked01_fs --checked- --checked+`` compilation =
compilation
|> asFs
|> withOptions["--checked-"; "--checked+"]
Expand All @@ -102,7 +102,7 @@ module Checked =

// SOURCE=unchecked01.fs SCFLAGS="--checked+ --checked-" # fsc-checked+checked-
[<Theory; Directory(__SOURCE_DIRECTORY__, Includes=[|"unchecked01.fs"|])>]
let ``fsc-checked - unchecked01.fs --checked+ --checked-`` compilation =
let ``fsc-checked - unchecked01_fs --checked+ --checked-`` compilation =
compilation
|> asFs
|> withOptions["--checked+"; "--checked-"]
Expand All @@ -111,7 +111,7 @@ module Checked =

// SOURCE=checked01.fs SCFLAGS="--checked --checked+" # fsc-checkedchecked+
[<Theory; Directory(__SOURCE_DIRECTORY__, Includes=[|"checked01.fs"|])>]
let ``fsi-checked - checked01.fs --checked --checked+`` compilation =
let ``fsi-checked - checked01_fs --checked --checked+`` compilation =
compilation
|> asFsx
|> withOptions["--checked"; "--checked+"]
Expand All @@ -120,7 +120,7 @@ module Checked =

// SOURCE=checked01.fs SCFLAGS="--checked- --checked+" # fsc-checked-checked+
[<Theory; Directory(__SOURCE_DIRECTORY__, Includes=[|"checked01.fs"|])>]
let ``fsi-checked - checked01.fs --checked- --checked+`` compilation =
let ``fsi-checked - checked01_fs --checked- --checked+`` compilation =
compilation
|> asFsx
|> withOptions["--checked-"; "--checked+"]
Expand All @@ -129,7 +129,7 @@ module Checked =

// SOURCE=unchecked01.fs SCFLAGS="--checked+ --checked-" # fsc-checked+checked-
[<Theory; Directory(__SOURCE_DIRECTORY__, Includes=[|"unchecked01.fs"|])>]
let ``fsi-checked - unchecked01.fs --checked+ --checked-`` compilation =
let ``fsi-checked - unchecked01_fs --checked+ --checked-`` compilation =
compilation
|> asFsx
|> withOptions["--checked+"; "--checked-"]
Expand All @@ -139,7 +139,7 @@ module Checked =
//# Unrecognized argument
// SOURCE=unrecogarg.fs SCFLAGS="--Checked" # fsc--Checked
[<Theory; Directory(__SOURCE_DIRECTORY__, Includes=[|"unrecogarg.fs"|])>]
let ``fsc-checked - unchecked01.fs Checked`` compilation =
let ``fsc-checked - unchecked01_fs Checked`` compilation =
compilation
|> asFs
|> withOptions["--Checked"]
Expand All @@ -151,7 +151,7 @@ module Checked =

// SOURCE=unrecogarg.fs SCFLAGS="--checked*" # fsc--checked*
[<Theory; Directory(__SOURCE_DIRECTORY__, Includes=[|"unrecogarg.fs"|])>]
let ``fsc-checked - unchecked01.fs --checked-star`` compilation =
let ``fsc-checked - unchecked01_fs --checked-star`` compilation =
compilation
|> asFs
|> withOptions["--checked*"]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All Rights Reserved. See License.txt in the project root for license information.

namespace FSharp.Compiler.ComponentTests.CompilerOptions
namespace CompilerOptions.Fsc

open Xunit
open FSharp.Test
Expand All @@ -10,7 +10,7 @@ module cliversion =

//# SOURCE=E_fsc_cliversion.fs SCFLAGS="--cliversion:2.0" # fsc --cliversion:2.0
[<Fact>]
let ``fsc --cliversion:2.0``() =
let ``fsc --cliversion:2_0``() =
FSharp """
"""
|> asExe
Expand All @@ -23,7 +23,7 @@ module cliversion =

//# SOURCE=E_fsi_cliversion.fs SCFLAGS="--cliversion:2.0" FSIMODE=EXEC COMPILE_ONLY=1 # fsi --cliversion:2.0
[<Fact>]
let ``fsi --cliversion:2.0``() =
let ``fsi --cliversion:2_0``() =
FSharp """
"""
|> asFsx
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All Rights Reserved. See License.txt in the project root for license information.

namespace FSharp.Compiler.ComponentTests.CompilerOptions.fsc
namespace CompilerOptions.Fsc

open Xunit
open FSharp.Test
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All Rights Reserved. See License.txt in the project root for license information.

namespace FSharp.Compiler.ComponentTests.CompilerOptions
namespace CompilerOptions.Fsc

open System

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All Rights Reserved. See License.txt in the project root for license information.

namespace FSharp.Compiler.ComponentTests.CompilerOptions
namespace CompilerOptions.Fsc

open Xunit
open FSharp.Test
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright (c) Microsoft Corporation. All Rights Reserved. See License.txt in the project root for license information.
namespace FSharp.Compiler.ComponentTests.CompilerOptions
namespace CompilerOptions.Fsc

open Xunit
open FSharp.Test
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All Rights Reserved. See License.txt in the project root for license information.

namespace FSharp.Compiler.ComponentTests.CompilerOptions
namespace CompilerOptions.Fsc

open Xunit
open System
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All Rights Reserved. See License.txt in the project root for license information.

namespace FSharp.Compiler.ComponentTests.CompilerOptions
namespace CompilerOptions.Fsc

open System
open System.Reflection.PortableExecutable
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All Rights Reserved. See License.txt in the project root for license information.

namespace FSharp.Compiler.ComponentTests.CompilerOptions
namespace CompilerOptions.Fsc

open Xunit
open FSharp.Test
Expand Down Expand Up @@ -64,7 +64,7 @@ printfn "Hello, World"
|> ignore

[<Fact>]
let ``fsc langversion supports full version number - --langversion:5.0``() =
let ``fsc langversion supports full version number - --langversion:5_0``() =
FSharp """
printfn "Hello, World"
"""
Expand All @@ -88,7 +88,7 @@ printfn "Hello, World"
|> ignore

[<Fact>]
let ``fsc langversion fails with invalid version number - --langversion:4.1 which never existed``() =
let ``fsc langversion fails with invalid version number - --langversion:4_1 which never existed``() =
FSharp """
printfn "Hello, World"
"""
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All Rights Reserved. See License.txt in the project root for license information.

namespace FSharp.Compiler.ComponentTests.CompilerOptions.fsc
namespace CompilerOptions.Fsc

open Xunit
open FSharp.Test
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All Rights Reserved. See License.txt in the project root for license information.

namespace FSharp.Compiler.ComponentTests.CompilerOptions.fsc
namespace CompilerOptions.Fsc

open Xunit
open FSharp.Test
Expand All @@ -11,7 +11,7 @@ module noframework =
// This test was automatically generated (moved from FSharpQA suite - CompilerOptions/fsc/noframework)
//<Expects status="success"></Expects>
[<Theory; Directory(__SOURCE_DIRECTORY__, Includes=[|"noframework02.fs"|])>]
let ``noframework - noframework02.fs - --noframework`` compilation =
let ``noframework - noframework02_fs - --noframework`` compilation =
compilation
|> asFsx
|> withOptions ["--noframework"]
Expand Down
Loading