Ticket #7816: 0002-Update-tests.patch

File 0002-Update-tests.patch, 2.9 KB (added by monoidal, 2 years ago)

Tests

  • tests/module/T414.stderr

    From cbca90181410bbf2e0e0e3b086da3cdd32c715f1 Mon Sep 17 00:00:00 2001
    From: Krzysztof Gogolewski <[email protected]>
    Date: Sat, 6 Apr 2013 19:34:43 +0200
    Subject: [PATCH] Update tests after changing "main function" to "main action"
     (#7816)
    
    ---
     tests/module/T414.stderr                     |    2 +-
     tests/module/mod174.stderr                   |    2 +-
     tests/parser/should_fail/readFail021.stderr  |    2 +-
     tests/rename/should_fail/rnfail007.stderr    |    2 +-
     tests/typecheck/should_fail/tcfail030.stderr |    2 +-
     tests/typecheck/should_fail/tcfail199.stderr |    2 +-
     6 files changed, 6 insertions(+), 6 deletions(-)
    
    diff --git a/tests/module/T414.stderr b/tests/module/T414.stderr
    index b9af693..1f1e215 100644
    a b  
    11
    22T414.hs:1:1:
    3     The main function ‛main’ is not exported by module ‛Main’
     3    The main IO action ‛main’ is not exported by module ‛Main’
  • tests/module/mod174.stderr

    diff --git a/tests/module/mod174.stderr b/tests/module/mod174.stderr
    index 020f942..4fdbde5 100644
    a b  
    11
    22mod174.hs:1:1:
    3     The main function ‛main’ is not exported by module ‛Main’
     3    The main IO action ‛main’ is not exported by module ‛Main’
  • tests/parser/should_fail/readFail021.stderr

    diff --git a/tests/parser/should_fail/readFail021.stderr b/tests/parser/should_fail/readFail021.stderr
    index ed55c0d..ee6889f 100644
    a b  
    11
    22readFail021.hs:1:1:
    3     The function ‛main’ is not defined in module ‛Main’
     3    The IO action ‛main’ is not defined in module ‛Main’
  • tests/rename/should_fail/rnfail007.stderr

    diff --git a/tests/rename/should_fail/rnfail007.stderr b/tests/rename/should_fail/rnfail007.stderr
    index 316e141..9108173 100644
    a b  
    11
    22rnfail007.hs:1:1:
    3     The function ‛main’ is not defined in module ‛Main’
     3    The IO action ‛main’ is not defined in module ‛Main’
  • tests/typecheck/should_fail/tcfail030.stderr

    diff --git a/tests/typecheck/should_fail/tcfail030.stderr b/tests/typecheck/should_fail/tcfail030.stderr
    index e0a8b49..1e0f08d 100644
    a b  
    11
    22tcfail030.hs:1:1:
    3     The function ‛main’ is not defined in module ‛Main’
     3    The IO action ‛main’ is not defined in module ‛Main’
  • tests/typecheck/should_fail/tcfail199.stderr

    diff --git a/tests/typecheck/should_fail/tcfail199.stderr b/tests/typecheck/should_fail/tcfail199.stderr
    index 3e1df5e..660e69d 100644
    a b  
    22tcfail199.hs:5:1:
    33    Couldn't match expected type ‛IO t0’ with actual type ‛[Char]’
    44    In the expression: main
    5     When checking the type of the function ‛main’
     5    When checking the type of the IO action ‛main’