Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

updated for latest Mojolicious

  • Loading branch information...
commit da64c7d3f243b5f7b453f3936b13d5e8e8bdbc2e 1 parent 1eba14c
Sebastian Riedel authored May 12, 2011
1  Snippets/LiteApp.tmSnippet
@@ -4,7 +4,6 @@
4 4
 <dict>
5 5
 	<key>content</key>
6 6
 	<string>#!/usr/bin/env perl
7  
-
8 7
 use Mojolicious::Lite;
9 8
 
10 9
 $1
33  Snippets/LiteTest.tmSnippet
... ...
@@ -1,33 +0,0 @@
1  
-<?xml version="1.0" encoding="UTF-8"?>
2  
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3  
-<plist version="1.0">
4  
-<dict>
5  
-	<key>content</key>
6  
-	<string>#!/usr/bin/env perl
7  
-
8  
-use strict;
9  
-use warnings;
10  
-
11  
-use Test::More tests =&gt; 3;
12  
-use Test::Mojo;
13  
-
14  
-use FindBin;
15  
-\$ENV{MOJO_HOME} = "\$FindBin::Bin/../";
16  
-require "\$ENV{MOJO_HOME}/${1:myapp.pl}";
17  
-
18  
-my \$t = Test::Mojo-&gt;new;
19  
-
20  
-# GET $2
21  
-\$t-&gt;get_ok('${2:/}')-&gt;status_is(200)-&gt;text_is('title', '$3');
22  
-
23  
-$4</string>
24  
-	<key>name</key>
25  
-	<string>LiteTest</string>
26  
-	<key>scope</key>
27  
-	<string>source.perl.mojolicious</string>
28  
-	<key>tabTrigger</key>
29  
-	<string>test</string>
30  
-	<key>uuid</key>
31  
-	<string>9924F73A-5F5F-45E7-B3D3-077D69777AF5</string>
32  
-</dict>
33  
-</plist>

0 notes on commit da64c7d

Please sign in to comment.
Something went wrong with that request. Please try again.