Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Bug in check inspection of jar files?
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
  2 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
 
rockrep  
View profile  
 More options Jul 13 2007, 6:00 pm
From: rockrep <rock...@gmail.com>
Date: Fri, 13 Jul 2007 22:00:30 -0000
Local: Fri, Jul 13 2007 6:00 pm
Subject: Bug in check inspection of jar files?
Hi,

I'm using Buildr v. 1.2.0, rspec 1.0.5

Two similar check expectations, one works, the other fails.  I would
expect both to work.

              # this works
              check package(:jar).path("content_720x480"), "should
contain test/test2.efx" do
                  it.should contain("test/test2.efx")
              end
              # this doesn't - bug in check?
              check package(:jar).path("content_720x480/test"),
"should contain test2.efx" do
                  it.should contain("test2.efx")     # Rakefile:435
              end

content_720x480/ should contain test/test2.efx
content_720x480/test/ should contain test2.efx
/home/michael/p4/devaux/prototyping/mclaren/Rakefile:435
content_720x480/test/ should contain test2.efx
Expected content_720x480/test/ to contain 'test2.efx'
rake aborted!

Thanks,

Michael


    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.
Assaf Arkin  
View profile  
 More options Jul 13 2007, 8:43 pm
From: "Assaf Arkin" <as...@labnotes.org>
Date: Fri, 13 Jul 2007 17:43:52 -0700
Local: Fri, Jul 13 2007 8:43 pm
Subject: Re: Bug in check inspection of jar files?

On 7/13/07, rockrep <rock...@gmail.com> wrote:

> Hi,

> I'm using Buildr v. 1.2.0, rspec 1.0.5

Turns out to be a classic mistake.   I wrote some smart code -- using sub!()
to replace =~ and a sub() -- figuring it's short enough that it could not go
wrong.  Some edits ago it did go wrong.  So fixed in SVN.

And lesson.  Don't write smart code to save a few keystrokes.

Assaf

Two similar check expectations, one works, the other fails.  I would


    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