mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2025-12-11 20:02:09 +00:00
turn serveroutput on so we see the results of the texttest fixture
This commit is contained in:
parent
8aaf87ffad
commit
fbea424fb7
@ -1,13 +1,15 @@
|
|||||||
|
SET SERVEROUTPUT ON;
|
||||||
|
|
||||||
DELETE FROM item;
|
DELETE FROM item;
|
||||||
|
|
||||||
DECLARE
|
DECLARE
|
||||||
l_days NUMBER(3);
|
l_days NUMBER(3);
|
||||||
CURSOR c_items IS
|
CURSOR c_items IS
|
||||||
SELECT name, sell_in, quality FROM item;
|
SELECT name, sell_in, quality FROM item;
|
||||||
l_item c_items%ROWTYPE;
|
l_item c_items%ROWTYPE;
|
||||||
BEGIN
|
BEGIN
|
||||||
DBMS_OUTPUT.PUT_LINE('OMGHAI!');
|
DBMS_OUTPUT.PUT_LINE('OMGHAI!');
|
||||||
|
|
||||||
new_item('+5 Dexterity Vest', 10, 20);
|
new_item('+5 Dexterity Vest', 10, 20);
|
||||||
new_item('Aged Brie', 2, 0);
|
new_item('Aged Brie', 2, 0);
|
||||||
new_item('Elixir of the Mongoose', 5, 7);
|
new_item('Elixir of the Mongoose', 5, 7);
|
||||||
@ -18,7 +20,7 @@ BEGIN
|
|||||||
new_item('Backstage passes to a TAFKAL80ETC concert', 5, 49);
|
new_item('Backstage passes to a TAFKAL80ETC concert', 5, 49);
|
||||||
-- this conjured item does not work properly yet ;
|
-- this conjured item does not work properly yet ;
|
||||||
new_item('Conjured Mana Cake', 3, 6);
|
new_item('Conjured Mana Cake', 3, 6);
|
||||||
|
|
||||||
l_days := 2;
|
l_days := 2;
|
||||||
|
|
||||||
FOR i IN 0 .. l_days - 1
|
FOR i IN 0 .. l_days - 1
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user