~eda-qa/leaflang/cpp

« back to all changes in this revision

Viewing changes to share/unit_tests/block/error/info_defer_add.lfb

  • Committer: edA-qa mort-ora-y
  • Date: 2017-08-19 06:03:00 UTC
  • mfrom: (100.1.22 misc)
  • Revision ID: eda-qa@disemia.com-20170819060300-209dwd5884343mi0
merging miscelaneous changes, mainly platform improvements

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
 
6
6
defn test = ()->() {
7
7
        defer_fail { 
8
 
                current_error_info.add( b )
 
8
                current_fail.add( b )
9
9
        }
10
10
        fail a
11
11
}
12
12
 
13
13
test() on fail { 
14
 
        trace( current_error_info.contains(a) )
15
 
        trace( current_error_info.contains(b) )
16
 
        trace( current_error_info.contains(c) ) //sanity on function
 
14
        trace( current_fail.contains(a) )
 
15
        trace( current_fail.contains(b) )
 
16
        trace( current_fail.contains(c) ) //sanity on function
17
17
}