Web Images Videos Maps News Shopping Gmail more »
Recently Visited Groups | Help | Sign in
Google Groups Home
tests for $?LINE and $?FILE
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Garrett Rooney  
View profile  
 More options Mar 5 2005, 11:45 am
Newsgroups: perl.perl6.compiler
From: roo...@electricjellyfish.net (Garrett Rooney)
Date: Sat, 05 Mar 2005 11:45:17 -0500
Local: Sat, Mar 5 2005 11:45 am
Subject: [pugs] tests for $?LINE and $?FILE

We don't have any tests for the $?LINE and $?FILE variables, although
they do work just fine as far as I can tell.

Here's a diff adding some in a new t/magical/vars.t file, since Autrijus
thought they should go in t/magical, but there doesn't appear to be a
good home for them there yet.

-garrett

[ magical-vars.diff < 1K ]
Index: t/magicals/vars.t
===================================================================
--- t/magicals/vars.t   (revision 0)
+++ t/magicals/vars.t   (revision 0)
@@ -0,0 +1,10 @@
+#!/usr/bin/pugs
+
+use v6;
+
+require Test;
+
+plan 2;
+
+is($?LINE, 9, '$?LINE works');
+is($?FILE, 't/magicals/vars.t', '$?FILE works');


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Luke Palmer  
View profile  
 More options Mar 5 2005, 4:38 pm
Newsgroups: perl.perl6.compiler
From: l...@luqui.org (Luke Palmer)
Date: Sat, 5 Mar 2005 14:38:43 -0700
Local: Sat, Mar 5 2005 4:38 pm
Subject: Re: [pugs] tests for $?LINE and $?FILE

Garrett Rooney writes:
> We don't have any tests for the $?LINE and $?FILE variables, although
> they do work just fine as far as I can tell.

> Here's a diff adding some in a new t/magical/vars.t file, since Autrijus
> thought they should go in t/magical, but there doesn't appear to be a
> good home for them there yet.

Thanks, applied.

Luke


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Luke Palmer  
View profile  
 More options Mar 5 2005, 8:29 pm
Newsgroups: perl.perl6.compiler
From: l...@luqui.org (Luke Palmer)
Date: Sat, 5 Mar 2005 18:29:23 -0700
Local: Sat, Mar 5 2005 8:29 pm
Subject: Re: [pugs] tests for $?LINE and $?FILE

Sure did.  That's what I get for applying both at once.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Garrett Rooney  
View profile  
 More options Mar 5 2005, 8:03 pm
Newsgroups: perl.perl6.compiler
From: roo...@electricjellyfish.net (Garrett Rooney)
Date: Sat, 05 Mar 2005 20:03:15 -0500
Local: Sat, Mar 5 2005 8:03 pm
Subject: Re: [pugs] tests for $?LINE and $?FILE

Luke Palmer wrote:
> Garrett Rooney writes:

>>We don't have any tests for the $?LINE and $?FILE variables, although
>>they do work just fine as far as I can tell.

>>Here's a diff adding some in a new t/magical/vars.t file, since Autrijus
>>thought they should go in t/magical, but there doesn't appear to be a
>>good home for them there yet.

> Thanks, applied.

Umm, I think you may have forgotten to run 'svn add', since I don't see
t/magicals/vars.t in the repository...

-garrett


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google