Skip to content

Tests cannot be ran without an active network connection #1135

@ocharles

Description

@ocharles

For example, when trying to install Dhall with the Nix sandbox enabled:

      ./dhall-lang/tests/import/success/headerForwardingA.dhall:                                FAIL
        Exception: 
        ↳ https://test.dhall-lang.org/Bool/package.dhall using [ { mapKey = "Test", mapValue = "Example" } ]
        
        Error: Remote host not found
        
        
        15│ https://test.dhall-lang.org/Bool/package.dhall
        16│   using [ { mapKey = "Test", mapValue = "Example" } ]
        
        15:1

I suggest we spin up a local HTTP server for these tests.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions